jupyter notebook change kernel
如何在jupyter notebook中切换kernel?以conda中的python虚拟环境py37为例(前提是了解如何通过conda安装python虚拟环境)
1. 安装ipykernel
(1)进入py37虚拟环境:conda activate py37
(2)安装ipykernel:
python-m pip install ipykernel
2. 添加kernel
python -m ipykernel install --user --name=py37,如果不定义--name参数
原创
2021-04-14 15:52:40 ·
1198 阅读 ·
0 评论