我嘗試卸載並重新安裝pip和筆記本的升級版本。還是一樣的錯誤。由於tornado.log我無法打開終端上的Jupyter
當我鍵入jupyter notebook
,這似乎:
Traceback (most recent call last):
File "/Users/macbookpro/Code/first-python-notebook/bin/jupyter-notebook", line 7, in <module>
from notebook.notebookapp import main
File "/Users/macbookpro/Code/first-python-notebook/lib/python2.7/site-packages/notebook/__init__.py", line 25, in <module>
from .nbextensions import install_nbextension
File "/Users/macbookpro/Code/first-python-notebook/lib/python2.7/site-packages/notebook/nbextensions.py", line 572, in <module>
from .extensions import (
File "/Users/macbookpro/Code/first-python-notebook/lib/python2.7/site-packages/notebook/extensions.py", line 8, in <module>
from tornado.log import LogFormatter
ImportError: No module named tornado.log
你有沒有嘗試過的解決方案[這裏](https://stackoverflow.com/questions/42265338/jupyter-notebook-importerror-no-module-named -tornado日誌)? –
我可能會建議你改用PyCharm。它也支持筆記本電腦 –
@ juanpa.arrivillaga是的,我試着再次使用這個命令安裝Tornado。仍然得到相同的錯誤。 –