I have a similar problem using spyder. I have tried to reinstall `zmq` and 
do not work!  
```Traceback (most recent call last):
File 
"/usr/people/jingpeng/libs/anaconda/lib/python2.7/site‑packages/spyderlib/widgets/externalshell/start_ipython_kernel.py",
 
line 161, in 
from IPython.kernel.zmq.kernelapp import IPKernelApp
File "/usr/lib/python2.7/dist‑packages/IPython/kernel/__init__.py", line 4, 
in 
from . import zmq
File "/usr/lib/python2.7/dist‑packages/IPython/kernel/zmq/__init__.py", 
line 14, in 
check_for_zmq('2.1.11', 'IPython.kernel.zmq')
File "/usr/lib/python2.7/dist‑packages/IPython/utils/zmqrelated.py", line 
37, in check_for_zmq
raise ImportError("%s requires python‑zmq >= %s"%(required_by, 
minimum_version))
ImportError: IPython.kernel.zmq requires python‑zmq >= 2.1.11```

On Wednesday, May 14, 2014 at 8:56:24 AM UTC-4, Ed Daniel wrote:
>
> Just a FYI for anyone who might experience same problem...
>
> After latest *libsodium* update from v0.4.5-2 to v0.5.0-1 Spyder will 
> fail to start raising an error as follows:
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/spyderlib/spyder.py", line 2331, 
> in main
>     mainwindow = run_spyder(app, options, args)
>   File "/usr/lib/python2.7/site-packages/spyderlib/spyder.py", line 2219, 
> in run_spyder
>     main.setup()
>   File "/usr/lib/python2.7/site-packages/spyderlib/spyder.py", line 873, 
> in setup
>     from spyderlib.plugins.ipythonconsole import IPythonConsole
>   File 
> "/usr/lib/python2.7/site-packages/spyderlib/plugins/ipythonconsole.py", 
> line 31, in <module>
>     from IPython.lib.kernel import find_connection_file, 
> get_connection_info
>   File "/usr/lib/python2.7/site-packages/IPython/lib/kernel.py", line 11, 
> in <module>
>     from IPython.kernel.connect import *
>   File "/usr/lib/python2.7/site-packages/IPython/kernel/__init__.py", line 
> 4, in <module>
>     from . import zmq
>   File "/usr/lib/python2.7/site-packages/IPython/kernel/zmq/__init__.py", 
> line 14, in <module>
>     check_for_zmq('2.1.11', 'IPython.kernel.zmq')
>   File "/usr/lib/python2.7/site-packages/IPython/utils/zmqrelated.py", 
> line 37, in check_for_zmq
>     raise ImportError("%s requires pyzmq >= %s"%(required_by, 
> minimum_version))
> ImportError: IPython.kernel.zmq requires pyzmq >= 2.1.11
>
>
> If you bring up an IPython console and simply try:*import zmq t*he 
> console output gives:
>
> In [1]: import zmq
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
> <ipython-input-1-1d4d77cc188d> in <module>()
> ----> 1 import zmq
>
> /usr/lib/python3.4/site-packages/zmq/__init__.py in <module>()
>      58 # zmq top-level imports
>      59 
> ---> 60 from zmq.backend import *
>      61 from zmq import sugar
>      62 from zmq.sugar import *
>
> /usr/lib/python3.4/site-packages/zmq/backend/__init__.py in <module>()
>      43         except ImportError:
>      44             # raise the *first* error, not the fallback
> ---> 45             reraise(*exc_info)
>      46 
>      47 globals().update(_ns)
>
> /usr/lib/python3.4/site-packages/zmq/utils/sixcerpt.py in reraise(tp, 
> value, tb)
>      32         if value.__traceback__ is not tb:
>      33             raise value.with_traceback(tb)
> ---> 34         raise value
>      35 
>      36 else:
>
> /usr/lib/python3.4/site-packages/zmq/backend/__init__.py in <module>()
>      36 
>      37     try:
> ---> 38         _ns = select_backend(first)
>      39     except Exception:
>      40         exc_info = sys.exc_info()
>
> /usr/lib/python3.4/site-packages/zmq/backend/select.py in 
> select_backend(name)
>      30     """Select the pyzmq backend"""
>      31     try:
> ---> 32         mod = __import__(name, fromlist=public_api)
>      33     except ImportError:
>      34         raise
>
> /usr/lib/python3.4/site-packages/zmq/backend/cython/__init__.py in 
> <module>()
>      24 
> #-----------------------------------------------------------------------------
>      25 
> ---> 26 from . import (constants, error, message, context,
>      27                       socket, utils, _poll, _version, _device )
>      28 
>
> ImportError: libsodium.so.4: cannot open shared object file: No such file 
> or directory
>
>
>
> If you keep libsodium at v0.4.5-2 then all is fine again.
>
> Hope that helps.
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to