python - IPython Notebook with ScipySuperpack: missing markupsafe dependency -
on mac osx 10.8.4. installed ipython via scipysuperpack. seemed install fine.
to launch told input ipython notebook --pylab=inline
in command line.
however following error
traceback (most recent call last): file "/usr/local/bin/ipython", line 8, in <module> load_entry_point('ipython==1.0.0-dev', 'console_scripts', 'ipython')() file "/library/python/2.7/site-packages/ipython-1.0.0_dev-py2.7.egg/ipython/__init__.py", line 118, in start_ipython return launch_new_instance(argv=argv, **kwargs) file "/library/python/2.7/site-packages/ipython-1.0.0_dev-py2.7.egg/ipython/config/application.py", line 538, in launch_instance app.initialize(argv) file "<string>", line 2, in initialize file "/library/python/2.7/site-packages/ipython-1.0.0_dev-py2.7.egg/ipython/config/application.py", line 89, in catch_config_error return method(app, *args, **kwargs) file "/library/python/2.7/site-packages/ipython-1.0.0_dev-py2.7.egg/ipython/terminal/ipapp.py", line 309, in initialize super(terminalipythonapp, self).initialize(argv) file "<string>", line 2, in initialize file "/library/python/2.7/site-packages/ipython-1.0.0_dev-py2.7.egg/ipython/config/application.py", line 89, in catch_config_error return method(app, *args, **kwargs) file "/library/python/2.7/site-packages/ipython-1.0.0_dev-py2.7.egg/ipython/core/application.py", line 361, in initialize self.parse_command_line(argv) file "/library/python/2.7/site-packages/ipython-1.0.0_dev-py2.7.egg/ipython/terminal/ipapp.py", line 304, 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-1.0.0_dev-py2.7.egg/ipython/config/application.py", line 89, in catch_config_error return method(app, *args, **kwargs) file "/library/python/2.7/site-packages/ipython-1.0.0_dev-py2.7.egg/ipython/config/application.py", line 468, 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-1.0.0_dev-py2.7.egg/ipython/config/application.py", line 89, in catch_config_error return method(app, *args, **kwargs) file "/library/python/2.7/site-packages/ipython-1.0.0_dev-py2.7.egg/ipython/config/application.py", line 400, in initialize_subcommand subapp = import_item(subapp) file "/library/python/2.7/site-packages/ipython-1.0.0_dev-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-1.0.0_dev-py2.7.egg/ipython/html/notebookapp.py", line 38, in <module> jinja2 import environment, filesystemloader file "/library/python/2.7/site-packages/jinja2-2.7.1-py2.7.egg/jinja2/__init__.py", line 33, in <module> jinja2.environment import environment, template file "/library/python/2.7/site-packages/jinja2-2.7.1-py2.7.egg/jinja2/environment.py", line 13, in <module> jinja2 import nodes file "/library/python/2.7/site-packages/jinja2-2.7.1-py2.7.egg/jinja2/nodes.py", line 18, in <module> jinja2.utils import markup file "/library/python/2.7/site-packages/jinja2-2.7.1-py2.7.egg/jinja2/utils.py", line 520, in <module> markupsafe import markup, escape, soft_unicode importerror: no module named markupsafe
suggestions on went wrong?
i have same problem in newly installed ubuntu 14.04
it seems pip install jinja2 has gone wrong, solution me
pip uninstall jinja2 sudo apt-get install python-jinja2
Comments
Post a Comment