Ipython zmq失败,ipython笔记本失败并导入zmq失败

时间:2014-08-17 02:06:34

标签: ipython fedora ipython-notebook pyzmq

我无法运行ipython笔记本。要检查我做了iptest,使用zmq得到以下错误:

Traceback (most recent call last):

  File "/usr/bin/iptest", line 9, in <module>

    load_entry_point('ipython==2.2.0', 'console_scripts', 'iptest')()

  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 357, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)

  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2394, in load_entry_point
    return ep.load()

  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2108, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])

  File "/usr/lib/python2.7/site-packages/IPython/testing/iptestcontroller.py", line 31, in <module>

    from .iptest import have, test_group_names as py_test_group_names, test_sections, StreamCapturer

  File "/usr/lib/python2.7/site-packages/IPython/testing/iptest.py", line 155, in <module>
    have['zmq'] = test_for('zmq.pyzmq_version_info', min_zmq, callback=lambda x: x())

  File "/usr/lib/python2.7/site-packages/IPython/testing/iptest.py", line 117, in test_for
    check = import_item(item)

  File "/usr/lib/python2.7/site-packages/IPython/utils/importstring.py", line 42, in import_item
    module = __import__(package, fromlist=[obj])

  File "/usr/lib64/python2.7/site-packages/zmq/__init__.py", line 35, in <module>
    _libzmq = ctypes.CDLL(bundled[0], mode=ctypes.RTLD_GLOBAL)

  File "/usr/lib64/python2.7/ctypes/__init__.py", line 360, in __init__
    self._handle = _dlopen(self._name, mode)

OSError: /usr/lib64/python2.7/site-packages/zmq/libzmq.so: undefined symbol: crypto_secretbox_open

我有ipython 2.2.0版并使用fedora运行它。

非常感谢任何帮助

1 个答案:

答案 0 :(得分:0)

安装anaconda并使用python

解决了这个问题