python - unable to run ipython notebook, receive import errror -


ipython works when run when run @ mac command prompt following command import error:

ipython notebook 

below error:

    { $ipython notebook                traceback (most recent call last):   file "/usr/local/bin/ipython", line 9, in <module>     load_entry_point('ipython==3.1.0', 'console_scripts', 'ipython')()   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/__init__.py", line 120, in start_ipython     return launch_new_instance(argv=argv, **kwargs)   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/config/application.py", line 573, in launch_instance     app.initialize(argv)   file "<string>", line 2, in initialize   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/config/application.py", line 75, in catch_config_error     return method(app, *args, **kwargs)   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/terminal/ipapp.py", line 321, in initialize     super(terminalipythonapp, self).initialize(argv)   file "<string>", line 2, in initialize   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/config/application.py", line 75, in catch_config_error     return method(app, *args, **kwargs)   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/core/application.py", line 369, in initialize     self.parse_command_line(argv)   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/terminal/ipapp.py", line 316, in parse_command_line     return super(terminalipythonapp, self).parse_command_line(argv)   file "<string>", line 2, in parse_command_line   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/config/application.py", line 75, in catch_config_error     return method(app, *args, **kwargs)   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/config/application.py", line 471, in parse_command_line     return self.initialize_subcommand(subc, subargv)   file "<string>", line 2, in initialize_subcommand   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/config/application.py", line 75, in catch_config_error     return method(app, *args, **kwargs)   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/config/application.py", line 402, in initialize_subcommand     subapp = import_item(subapp)   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/utils/importstring.py", line 42, in import_item     module = __import__(package, fromlist=[obj])   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/html/notebookapp.py", line 30, in <module>     check_for_zmq('13', 'ipython.html')   file "/library/python/2.7/site-packages/ipython-3.1.0-py2.7.egg/ipython/utils/zmqrelated.py", line 12, in check_for_zmq     raise importerror("%s requires pyzmq >= %s"%(required_by, minimum_version)) importerror: ipython.html requires pyzmq >= 13 

i have ran conda update anaconda , have updated ipython error persists. end goal open notebook via chrome.

update if try open notebook fro spyder get:

enter image description here

you need update pyzmq, separate ipython:

sudo pip install -u pyzmq  

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -