我尝试在 VS Code 中运行 Jupyter 笔记本文件,但由于错误而无法运行:
IPyKernel 未安装到解释器 Python 3.8.5 64 位中
但是如图所示,我已经安装了该软件包。
我查过类似的问题(one https://stackoverflow.com/questions/60100344/vscode-not-picking-up-ipykernel, two https://stackoverflow.com/questions/62806475/vscode-not-detecting-ipykernel-verified-it-is-actually-installed, three https://github.com/microsoft/vscode/issues/89242, four https://github.com/microsoft/vscode-python/issues/9566)但解决方案并不能解决这个问题。
任何想法如何解决这一问题?
我的解决方案是在命令提示符下运行此代码
pip install --upgrade ipython
我认为该问题与提示工具包版本冲突有关。尝试一下,让我知道是否对您有帮助。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)