缘起:使用win + R 接着输入打开cmd窗口,键入 jupyter notebook,出现如下报错,前提是我已经添加了环境变量: 经过一番折腾,我又卸载了
pip uninstall jupyter notebook
卸载成功,想要重新安装,出现下面报错; 报错:
ERROR
: Could
not find a version that satisfies the requirement jupyter
(from versions
: none
)
ERROR
: No matching distribution found
for jupyter
接下来,用上这段指令,安装成功:
pip install jupyter notebook
-i http
://pypi
.douban
.com
/simple
/ --trusted
-host pypi
.douban
.com
看截图: 然后还是这样子,我彻底无语; 这次的收获,就是jupyter notebook 的卸载和重新安装!
本次相关参考:
参考1 参考2
参考3 中间也遇到这种报错:Exception: Jupyter commandjupyter-notebooknot found.
最后参照下面搞定了,附上链接:《Anaconda | 安装、环境配置与运行使用》, 一起来围观吧 https://blog.csdn.net/weixin_45441279/article/details/104650029?utm_source=app