环境搭建06-Ubuntu16.04在Jupyter中添加或删除conda环境

一、添加conda环境
source activate py36_tf140   # 激活conda环境
conda install ipykernel   # 安装ipykernel 
python -m ipykernel install --user --name py36_tf140 --display-name py36_tf140_display # 将环境写入notebook的 kernel中
jupyter kernelspec list  # 查看jupyter中已添加的环境
二、删除conda环境
jupyter kernelspec list  # 显示jupyter中已添加的环境
jupyter kernelspec remove py36_tf140_display

你可能感兴趣的:(jupyter,conda,python)