iPython 4.0 breaks shell_plus notebook
See original GitHub issueUpgrading to iPython 4.0 will create an error when running python manage.py shell_plus --notebook
:
.virtualenvs/django-q/lib/python3.4/site-packages/jupyter_client/kernelspec.py", line 143, in get_kernel_spec
raise NoSuchKernel(kernel_name)
jupyter_client.kernelspec.NoSuchKernel: 'python'
I’ve tested this with both Python 2.7.9 and 3.4.2. Downgrading to iPython 3.2.1 returns everything to normal.
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
How do I set up Jupyter/IPython Notebook for Django?
With a recent upgrade to Jupyter Notebook this setup is now broken for me. I am able to run Django code in the...
Read more >shell_plus — django-extensions 3.2.1 documentation
The Django settings module and database models are auto-loaded into the interactive shell's global namespace also for IPython Notebook. Auto-loading is done by ......
Read more >2.4.2. Running python in the cloud - Jean Mark Gawron
Google colab notebook is another way of interacting with python, just like IPython is, but Google colab notebook uses your browser, has a...
Read more >django-extensions Changelog - pyup.io
Improvement: shell_plus, not save ipython history when using Jupyter ... Fix: shell_plus, move notebook down the list of preferred shells
Read more >Wagtail CMS: Setting up Django Shell, shell_plus and ipython ...
Django shell_plus with IPython is how I learned Wagtail so quickly. It let me explore the entire Wagtail application and trial/error ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
One thing to note if you’ve tried
pip install -U git+git://github.com/django-extensions/django-extensions.git@92008a391c6357d7896a65ea74ac103664e21ddc
and it’s not working because
even though it may seem like there’s still a problem with django-extensions, it may be that you didn’t install ipython with notebook support. In this case, try:
pip install -U "ipython[notebook]"
@hanleybrand please (re)try with 9648b292614110852d6e233b91a78d328688c819 it should now try the new
notebook
package first. This should get rid of the error at startup.