我是靠谱客的博主 帅气枕头,这篇文章主要介绍ubuntu20.04 中配置 jupyter notebook 的anaconda虚拟环境,现在分享给大家,希望可以做个参考。

 首先打开终端使用conda安装ipkernel

conda install ipykernel

激活想要配置的conda环境

conda activate 环境名称

在当前激活的conda环境当中执行 test为当前激活的环境名称, jupytertest为设置在jupyter中的名称

python -m ipykernel install --user --name test --display-name "jupytertest"

用终端打开jupyter-notebook

jupyter-notebook

 就可以选择刚刚安装的虚拟环境啦

哦对了,删除jupyter的环境命令是这个

jupyter kernelspec remove 环境名称

 

 

 

 

最后

以上就是帅气枕头最近收集整理的关于ubuntu20.04 中配置 jupyter notebook 的anaconda虚拟环境的全部内容,更多相关ubuntu20.04内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(124)

评论列表共有 0 条评论

立即
投稿
返回
顶部