Jupyter Notebook: change the python exvironment

First, avtivate the environment. You can use this command:

复制代码
conda activate pytorch

Then install a package named ipykernel after you change to the environment you need.

复制代码
conda install ipykernel

Finally, add it to your jupyter such as:

复制代码
python -m ipykernel install --user --name pytorch --display-name "pytorch"
相关推荐
Want5957 分钟前
C/C++大雪纷飞①
c语言·开发语言·c++
Blossom.11843 分钟前
把AI“刻”进玻璃:基于飞秒激光量子缺陷的随机数生成器与边缘安全实战
人工智能·python·单片机·深度学习·神经网络·安全·机器学习
Kratzdisteln1 小时前
【Python OOP Diary 1.1】题目二:简单计算器,改错与优化
python·面向对象编程
小白银子1 小时前
零基础从头教学Linux(Day 53)
linux·运维·python
有时间要学习1 小时前
Qt——窗口
开发语言·qt
消失的旧时光-19432 小时前
@JvmStatic 的作用
java·开发语言·kotlin
skywalk81632 小时前
基于频域的数字盲水印blind-watermark
linux·开发语言·python
applepie_max2 小时前
GraphRAG本地部署 v2.7.0
python·rag·graphrag
Tiger_shl2 小时前
三大并发集合ConcurrentDictionary、ConcurrentBag、ConcurrentQueue
开发语言·c#
sulikey2 小时前
从零配置一个规范的 Python Git 仓库(适用于 Gitee / GitHub)
git·python·pycharm·gitee·github