[英]unable to run jupyter notebook in vscode even when ipykernel is installed and still it shows it is not
[英]Jupyter notebook not working in VScode because of ipykernel
我目前正在尝试在 VScode 中使用 jupyter notebook。 我已经下载了 Python 和 Juypter 笔记本扩展。 每当我尝试运行代码时,都会出现提示:
单击安装,我收到此错误消息:正在安装 ipykernel:警告:正在重试(重试(total=1,connect=None,re ... 模块不可用。”)':/simple/ipykernel/
它还显示此消息:Running cells with 'Python 3.9.12 ('work_env': venv)' requires ipykernel package。 运行以下命令将“ipykernel”安装到 Python 环境中。 命令:'c:/EmgProj/work_env/Scripts/python.exe -m pip install ipykernel -U --force-reinstall'
如果我在终端中使用上面建议的代码,它会成功安装扩展,但是当我尝试运行它时它仍然说我没有 ipykernel。 有人可以帮忙吗?
我和你一样的问题,重装ipykernel还是不行,终于找到了
pip 卸载 pyzmq
pip 安装 pyzmq
作品。 以下链接可能会有所帮助:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.