VS Code jupyter报错Error starting original kernel
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/blmoistawinde/article/details/103086657
用VS运行jupyter时报错如下
Jupyter kernel cannot be started from 'Python 3.6.9 64-bit ('py36': conda)'. Using closest match Python 3.7.4 64-bit instead.
Error starting original kernel: python -m jupyter notebook --version is not running
是因为
python -m jupyter notebook --version
这个指令无法运行,故在命令行中尝试(已经激活了自己想要打开jupyter的那个虚拟环境,在我这里是py36),结果:
(py36) D:\>python -m jupyter notebook --version
Traceback (most recent call last):
File "d:\anaconda3\envs\py36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "d:\anaconda3\envs\py36\lib\runpy.py", line 85, in _run_code