django - Django_extensions failing to work with iPython notebook -
i using django 1.4.5 , have installed django-extensions, in virtualenv. using python 2.7.1. when type:
./manage.py shell_plus --notebook
i error:
traceback (most recent call last): file "./manage.py", line 10, in <module> execute_from_command_line(sys.argv) file "/users/.../lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line utility.execute() file "/users/.../lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute self.fetch_command(subcommand).run_from_argv(self.argv) file "/users/.../lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv self.execute(*args, **options.__dict__) file "/users/.../lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute output = self.handle(*args, **options) file "/users/.../lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle return self.handle_noargs(**options) file "/users/.../lib/python2.7/site-packages/django_extensions/management/commands/shell_plus.py", line 140, in handle_noargs run_notebook() file "/users/.../lib/python2.7/site-packages/django_extensions/management/commands/shell_plus.py", line 71, in run_notebook ipython.frontend.html.notebook import notebookapp importerror: no module named ipython.frontend.html.notebook
without --notebook
option works fine. also, ipython notebook
works fine too.
can suggest might going wrong?
thanks!
i solved using new virtualenv, , making sure had installed ipython in it, i.e:
pip install tornado pip install pyzmq pip install ipython ./manage.py shell_plus --notebook
Comments
Post a Comment