我用
miniconda
运行
Python 3.6
. 一切都很好,直到我无法启动笔记本电脑。错误消息是:
File "/Users/usr/miniconda3/bin/jupyter-notebook", line 7, in <module>
from notebook.notebookapp import main
File "/Users/usr/miniconda3/lib/python2.7/site-packages/notebook/notebookapp.py", line 45, in <module>
ioloop.install()
File "/Users/usr/miniconda3/lib/python2.7/site-packages/zmq/eventloop/ioloop.py", line 210, in install
assert (not ioloop.IOLoop.initialized()) or \
AttributeError: type object 'IOLoop' has no attribute 'initialized'
在谷歌搜索之后,我尝试了以下操作:
conda install tornado=4.5.3
但它给出了一个警告信息:
CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible.
但我没有仔细阅读,所以我还是表演了。现在我可以打开jupyter笔记本了,但是我的python被降级为
2.7
我怎样才能得到我的
巨蟒3.6
回来?!
提前谢谢你!