如何在两个不同的conda环境中实现jupyter notebook共同使用,避免重复下载

前提:有2个conda环境,yes和py38_pytorch

其中,yes已经安装了jupyter notebook;py38_pytorch没有jupyter notebook

现在,实现在py38_pytorch用jupyter notebook

步骤:

1、激活py38_pytorch

conda activate py38_pytorch

2、conda install ipykernel

这个包允许环境作为Jupyter的内核使用

3、将环境添加到Jupyter的内核列表

python -m ipykernel install --user --name myenv --display-name "py38_pytorch"

4、激活yes(有jupyter notenook)的环境

conda activate yes

5、输入 jupyter notebook,打开

6、HOME页面右侧下拉,看到已经添加(红框部分)

7、点击进入。开始使用。

相关推荐
OsDepK9 小时前
xcode应用构建至testflight测试流程
ide·macos·xcode
frjc10 小时前
如何在 IDEA 中打开并运行已有Java项目
java·ide·intellij-idea
女神下凡17 小时前
PyCharm 2026破解激活
ide·python·pycharm
谁刺我心17 小时前
【vscode问题】远程remote cpptools导致linux板子cpu爆炸问题
ide·vscode·编辑器
LaughingZhu1 天前
Product Hunt 每日热榜 | 2026-09-02
java·ide·intellij-idea
小芒果_012 天前
从0到1,将pycharm上的项目上传到github
ide·pycharm·github
开开心心就好2 天前
手机精确倒计时工具悬浮窗口秒数实时显示
android·前端·javascript·jupyter·智能手机·pdf·html
sunburn-2 天前
Java堆(Heap)详解与实战教学
java·开发语言·数据结构·ide·算法
逐步前行3 天前
ESP32-S3-VSCode扩展ESP-IDF
ide·vscode·编辑器
171320330计算机毕设编程3 天前
2027计算机毕设五大方向对比&选题推荐
java·ide·python·算法·django·php·推荐算法