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,创建文件时可以选择虚拟环境内核 。

相关推荐
一个数据大开发2 天前
【零基础一站式指南】Conda 学习环境准备与 Jupyter/PyCharm 完全配置
学习·jupyter·conda
nvd113 天前
asyncio.run() vs asyncio.gather():启动器与聚合器, 为何Jupyter notebook里能直接使用await?
开发语言·python·jupyter
EEG小佬3 天前
Jupyter选择内核时如何找到虚拟环境
ide·python·jupyter
家有狸花5 天前
Pycharm 中jupyter notebook变量窗口只显示特殊变量
ide·jupyter·pycharm
疯狂的小强呀6 天前
如何利用 Jupyter 从浏览器访问远程服务器
服务器·jupyter·浏览器访问服务器·jupyter远程访问服务器
袁气满满~_~7 天前
关于jupyter notebook调用GPU
人工智能·深度学习·jupyter
新手村领路人8 天前
关于jupyter Notebook
ide·python·jupyter
伊玛目的门徒11 天前
Jupyter Notebook 配置使用虚拟环境中(virtualenv) 内核
python·jupyter·virtualenv
子不语18012 天前
深度学习——IDE之Jupyter
人工智能·深度学习·jupyter