JupyterNotebook 如何切换使用的虚拟环境kernel

在Jupyter Notebook中,如果需要修改使用的虚拟环境Kernel:

  1. 首先,需要确保虚拟环境已经安装conda上【conda基本操作】

  2. 打开Jupyter Notebook

  3. Jupyter Notebook 的顶部菜单中,选择 "New"

  4. 在弹出的窗口中,列出了所有可用的内核。如果没有,则需要安装ipykernel包,在虚拟环境中运行ipython kernel install --user --name=myenv(将myenv替换为你的虚拟环境的名称)。

  1. 重新打开Jupyter Notebook,创建文件时可以选择虚拟环境内核 。

相关推荐
溯源00621 小时前
在conda虚拟环境中安装jupyter lab-----deepseek问答记录
ide·jupyter·conda
tRNA做科研4 天前
2025最新深度学习pytorch完整配置:conda/jupyter/vscode
pytorch·深度学习·jupyter
uncle_ll4 天前
复制conda虚拟环境的几种方法
conda·pip·虚拟环境·pyenv·minconda
qq_515507506 天前
jupyter notebook中3种读图片的方法_与_图片翻转(上下翻转,左右翻转,上下左右翻转)
人工智能·python·jupyter·numpy
aPurpleBerry7 天前
解决Did not find dashscope_api_key问题——jupyter设置环境变量
ide·python·jupyter
96777 天前
如何将 Jupyter Notebook (.ipynb) 文件转换为 Python (.py) 文件
linux·python·jupyter
WSSWWWSSW7 天前
查看notebook的jupyter token
ide·python·jupyter
荷碧TongZJ8 天前
Jupyter Notebook 6/7 设置代码补全
ide·python·jupyter
iCheer-xu8 天前
VSCODE内使用Jupyter模式,运行backtrader不展示图片、图片尺寸无法自定义的处理方案
ide·vscode·jupyter
Perfect_www11 天前
Jupyter Notebook自动保存失败等问题的解决
ide·python·jupyter