[英]Unable to launch Jupyter Notebook
I'm unable to launch the Jupyter on Anaconda. I'm using windows, how can I get rid of this error?我无法在 Anaconda 上启动 Jupyter。我正在使用 windows,我怎样才能摆脱这个错误? The error says:错误说:
Traceback (most recent call last):
File "C:\Users\User\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "C:\Users\User\anaconda3\lib\site-packages\notebook\notebookapp.py", line 64, in
raise ImportError(_("The Jupyter Notebook requires tornado >= 5.0, but you have %s") % tornado.version)
ImportError: The Jupyter Notebook requires tornado >= 5.0, but you have 4.5.3
You can probably remove it off your system then put it back on with for python您可能可以将其从系统中删除,然后使用 python 重新打开
sudo apt-get remove python-tornado
sudo pip install tornado
similarly you could run it for python 3 if neccesary同样,如果需要,您可以为 python 3 运行它
sudo apt-get remove python3-tornado
sudo pip3 install -U tornado
or you could try the following to upgrade tornado或者您可以尝试以下方法来升级龙卷风
sudo pip install tornado --upgrade
you said:你说:
I'm unable to launch the Jupyter on Anaconda.我无法在 Anaconda 上启动 Jupyter。
you can update it from Anaconda.Navigator您可以从 Anaconda.Navigator 更新它
tornado 4.5.3
删除它 4.你会发现你的tornado 4.5.3
click on the check then choose点击检查然后选择
make for a specific version --> 6.1制作特定版本-> 6.1
go to Anacondas' home page then ran jupyter [install -> launch ] done go 到 Anacondas 的主页,然后运行 jupyter [install -> launch ] 完成
Try uninstalling tornado with: (pip uninstall tornado) for some reason after deleting my tornado 4.5.3 it automatically updated to Version 6. and started working perfectly fine, I don't know the exact reason, possibly a missing dependency was auto installed I guess.尝试使用以下方法卸载龙卷风:(pip uninstall tornado)出于某种原因,在删除我的龙卷风 4.5.3 后,它会自动更新到版本 6。并且开始工作得很好,我不知道确切的原因,可能是自动安装了缺少的依赖项我猜测。 whatever it is, this worked for me.不管是什么,这对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.