Jupyter notebook ImportError: No module named tornado.log

邮差的信 提交于 2019-12-06 05:25:23

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.

I had this problem on linux and the cause of my grief was permissions related.

ie. jupyter notebook gave me this error.

sudo jupyter notebook worked.

Turned out some libs were owned by root. I must have done a sudo pip something at some stage.

The fix is to either run it as root or change the permissions on the libraries

I did a $ sudo chmod -R o+rx /usr/local/lib/python2.7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!