首页 > 解决方案 > jupyter notebook 在 Windows 上运行另一个 python 版本的代码

问题描述

伙计们。

我的电脑上有两个 python 版本——python 3.6 和 python 3.8。默认版本为 3.6

因此,我为 3.6 和 3.8 都安装了 jupyter,当我从 3.8 路径运行它时(此处仅举例 nbconvert 选项)

C:\Users\Anton\AppData\Local\Programs\Python\Python38\Scripts\jupyter  nbconvert

我收到这样的错误(尽管我直接从 3.8 版本路径启动,但与 3.6 版本路径有关)

文本

我做错了什么,可以修复吗?

标签: pythonwindowsjupyterpython-3.6python-3.8

解决方案


推荐阅读