jupyter安装conda环境
方法一
- cmd进入环境 activate Env
- 运行 conda install nb_conda_kernels
方法二
- 首先安装ipykernel:
conda install ipykernel
- 在虚拟环境下创建kernel文件:
conda install -n 环境名称 ipykernel
- 激活conda环境:
source activate 环境名称
将环境写入notebook的kernel中:
python -m ipykernel install --user --name 环境名称 --display-name "你想为kernel添加的名称"
如果经常需要用jupyter notebook,那么最好在创建虚拟环境的时候便安装好ipykernel:
conda create -n 环境名称 python=3.5 ipykernel
报错No module named IPython的所有解决方法
pip install notebook pip install ipython pip install jupyter
报错No module named IPython的所有解决方法_豌豆生的笔记本-CSDN博客_import ipython
jupyter查看和删除环境
jupyter kernelspec list
jupyter kernelspec remove 【EnvName】
jupyter更开启动位置