django - Unrecognized flag: '--ext' on python manage.py shell_plus --notebook -


i have django project using django 1.6.10 running on mac os x 10.10 , python 2.7. have django_extensions , ipython[notebook] installed virtualenv using pip:

django-extensions==1.5.0 ipython==3.1.0 

however, when try run django ipython notebook:

12:02 $ python manage.py shell_plus --notebook 

ipython notebook crashes with:

[c 12:02:37.652 notebookapp] bad config encountered during initialization: [c 12:02:37.652 notebookapp] unrecognized flag: '--ext' 

this documented here: https://opensourcehacker.com/2014/08/13/turbocharge-your-python-prompt-and-django-shell-with-ipython-notebook/#django_integration

i'm not sure crash originating. ideas?

this has been fixed in master branch of django-extensions on github. use version of django-extensions:

in requirements.txt:

# django extensions -e git+git://github.com/django-extensions/django-extensions.git#egg=django-extensions 

then...

pip install -r requirements.txt 

or @ command line sans requirements.txt:

pip install -e git+git://github.com/django-extensions/django-extensions.git#egg=django-extensions 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -