I have installed jupyter and when trying to start it, I get the following error:
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/jupyter-notebook", line 7, in <module>
from notebook.notebookapp import main
File"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/notebook/__init__.py", line 25, in <module>
from .nbextensions import install_nbextension
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/notebook/nbextensions.py", line 35, in <module>
from tornado.log import LogFormatter
ImportError: No module named tornado.log
I tried uninstalling and reinstalling jupyter, tornado, or anything I could somehow link to this error and nothing really helped. This actually used to work pretty well but it recently began throw the above error at me. Any help is greatly appreciated.
I just solve this problem by force reinstall tornado, using this command:
pip2 install tornado --user --ignore-installed
Reinstalling tornado isn’t the problem; the outdated version is. Upgrade with pip install --upgrade tornado.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With