Jupyter notebook选择conda环境
程序员文章站
2022-06-01 09:53:11
...
安装完anaconda以后,默认打开的终端是base环境。
想要选择环境,首先进入该环境下的终端。
1、**pythonProject1环境。
source activate pythonProject1
2、安装ipython核
conda install ipykernel
3、在pythonProject1环境安装jupyter notebook,并配置核。
pip install jupyter notebook
python -m ipykernel install --user --name pythonProject1
4、启动jupyter notebook
5、打开notebook文件,输入如下语句,会看到此时notebook的环境就是conda的pythonProject1环境了。
上一篇: ionic 传参界面跳转
推荐阅读
-
anaconda 环境新建/删除/拷贝 jupyter notebook上使用python虚拟环境 TensorFlow
-
Jupyter notebook 创建、切换Anaconda(Python)虚拟环境
-
多个环境配置Jupyter notebook
-
jupyter notebook 不同环境安装
-
anaconda虚拟环境安装jupyter notebook的坑
-
在Anaconda虚拟环境中使用jupyter notebook
-
在jupyter notebook的kernel里显示自己的环境
-
windows系统中Python多版本与jupyter notebook使用虚拟环境的过程
-
在PyCharm环境中使用Jupyter Notebook的两种方法总结
-
用BAT脚本实现虚拟python环境下的jupyter notebook在特定文件夹下启动