美文网首页
环境搭建06-Ubuntu16.04在Jupyter中添加或删除

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

作者: JLGao的简书 | 来源:发表于2020-09-13 16:34 被阅读0次

一、添加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

相关文章

网友评论

      本文标题:环境搭建06-Ubuntu16.04在Jupyter中添加或删除

      本文链接:https://www.haomeiwen.com/subject/byjbektx.html