在VS code中初次运行 jupyter,按照提示安装了ipykernel,
但安装后试运行 jupyter 时,却显示
Failed to start the Kernel.
试图运行任何python代码均显示
Failed to start the Kernel.
Failed to start the Kernel.
c:\work\py_test.venv\lib\site-packages\traitlets\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
warn(
c:\work\py_test.venv\lib\site-packages\traitlets\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '89e79e74-6883-4ed3-b445-aaa9a48c5320' instead of 'b"89e79e74-6883-4ed3-b445-aaa9a48c5320"'.
warn(
Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100).
View Jupyter log for further details.
我曾经以为是ipykernel安装出了问题,
于是运用 pip 试图重新安装 ipykernel,
但均显示
Requirement already satisfied
能够在VS code中,正常运行 ipykernel 和 jupyter
你要安装哪个版本的
ctrl+shift+P