在VScode的插件扩展中找到相关插件之间安装之后,无法成功运行,一直转圈。
在命令行中可以运行jupyter notebook 并成功进入浏览器,并且可以查看.py文件,但是无法打开.ipynb文件。
报错无法导入jupyter.core中的某一个文件。
使用pip list
发现很多包的版本偏低,使用pip升级一下就好了
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade jupyter-core
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade ipykernel
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade traitlets
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade jupyter-core
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade jupyter