在Jupyter Notebook中使用Python虚拟环境
一、在base环境生成jupyter配置环境
jupyter notebook --generate-config
二、进入虚拟环境
source activate 虚拟环境名字
三、安装ipykernel
conda install ipykernel
四、生成jupyter服务配置
python -m ipykernel install --name 虚拟环境名字 --display-name "在jupyter要显示的名字"
参考链接:https://zhuanlan.zhihu.com/p/29564719
参考链接:https://hacpai.com/article/1575548982112