[英]update jupyter notebook to python 3.7
I have python installed versions 3.73 but for jupyter notebook I have 3.6.8
.我安装了 python 版本 3.73 但对于 jupyter notebook 我有3.6.8
。 How to upgrade python to version 3.7+ on jupyter notebook?如何在 jupyter notebook 上将 python 升级到 3.7+ 版本?
I tried:我试过:
conda update jupyter
conda upgrade notebook
when I type in the terminal in virtual env python -VI get 3.73 but when I check it in jupyter:当我在 virtual env python -VI 中输入终端时得到 3.73 但是当我在 jupyter 中检查它时:
from platform import python_version
print(python_version())
I get 3.6.8
.我得到3.6.8
。
Try the below code :试试下面的代码:
conda install ipython jupyter
I ran this command in Anaconda Prompt and it worked.我在 Anaconda Prompt 中运行了这个命令并且它起作用了。 Don't forget to restart the jupyter notebook after the installation.安装后不要忘记重新启动 jupyter notebook。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.