【发布时间】:2022-01-27 01:27:54
【问题描述】:
我正在尝试将 Jupyter 笔记本用于 VS Code 中的一些 Pandas。我设置了一个虚拟环境 venv,我在其中安装了 Pandas 和 jupyter。我总是这样做,而且效果很好。但是突然之间它不再起作用了。 Code with error message
【问题讨论】:
标签: python pandas visual-studio-code jupyter
我正在尝试将 Jupyter 笔记本用于 VS Code 中的一些 Pandas。我设置了一个虚拟环境 venv,我在其中安装了 Pandas 和 jupyter。我总是这样做,而且效果很好。但是突然之间它不再起作用了。 Code with error message
【问题讨论】:
标签: python pandas visual-studio-code jupyter
您可以尝试重新安装pyzmq 模块吗?
pip uninstall pyzmq
pip install pyzmq==19.0.2
【讨论】:
解决方法是在单独的终端中运行内核(使用jupyter notebook 命令),并从 VS Code 连接到该内核(单击“Jupyter 服务器:本地”并从列表)。
【讨论】: