admin管理员组文章数量:1291762
安装 ptyprocess、ipykernel、pyzmq
- 问题描述
- 原文链接
- 解决方法
问题描述
The kernel failed to start due to the missing module 'ipykernel_launcher'.
Consider installing this module.
View Jupyter [log](command:jupyter.viewOutput) for further details.
下面的弹窗中点击**《获取更多》**就好了
原文链接
https://github/microsoft/vscode-jupyter/wiki/Failure-to-start-Kernel-due-to-Modules-not-installed
其实答案就在谜面上,我是在vscode中用jupyter写pytorch出现这个错误。
但是我的网络访问GitHub时不稳定,总是跳404.
导致我错过了很多次
解决方法
# if using a non-conda environment
python -m pip install <xyz> -U --fore-reinstall
# If using a conda environment
conda install --name <environment name> <xyz> --update-deps --force-reinstall
比如你是conda来操作环境,你需要更新ipykernel
你可以这么写
conda install -n 环境名字 --update-deps ipykernel
这是原网页
本文标签: startdueKernelfailedipykernellauncher
版权声明:本文标题:The kernel failed to start due to the missing module ‘ipykernel_launcher‘. Consider installing this 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/biancheng/1738334763a2076705.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论