-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native kernel (python2) not available #1280
Comments
I don't know how you've got there, but that error message means that it can't import |
|
Maybe it's something that depends on that is missing. In a Python shell, can you try: from ipykernel.kernelspec import RESOURCES |
`--------------------------------------------------------------------------- /usr/local/lib/python2.7/dist-packages/ipykernel/init.py in () /usr/local/lib/python2.7/dist-packages/ipykernel/connect.py in () ImportError: No module named paths |
That means it's finding an old version of IPython somewhere - try uninstalling and reinstalling the IPython package. If you've installed IPython with something like apt, uninstall that copy. |
I don't know how that showed up or why it wasn't a problem a few days ago, but that was it. |
I would guess that something got installed using setuptools, it created one
of its horrible .pth files and messed up your sys.path, making the system
installed IPython take precedence over the newer version you have. That is
a long-standing issue with setuptools.
|
Thanks. |
@majure thank you very much! |
Thank you @majure, this worked for me too. |
Thank you @majure, it worked for me. |
If anyone is still having this issue, for me it was solved by simply running
without the need for uninstalling ipython entirely |
@gregroberts it works for me too. Thanks! |
Thank you @gregroberts , I just want to note that this worked for me when I had the same error on PyCharm. |
Jupyter notebook has broken for me, despite about a month of smooth use and no major changes to my setup. I have ipython 2.7.6 installed, and it still works. When I run
jupyter notebook
I get an error saying 'Native kernel (python2) is not available'. I have not found many solutions online that seem applicable to this situation.The text was updated successfully, but these errors were encountered: