美文网首页Python笔记
服务器端使用Jupyter Hub及相关配置

服务器端使用Jupyter Hub及相关配置

作者: LeoinUSA | 来源:发表于2018-07-08 11:43 被阅读1次

加载anaconda模块

module load anaconda/5.0.0-py36

创建自己的环境

conda create -n py36 python=3.6 ipython ipykernel

查看当前环境

conda info --envs

激活环境

source activate py36

安装nb_conda以在Jupyter notebook中调用不同的环境

conda install nb_conda

启动Jupyter notebook

jupyter notebook

终端运行jupyter notebook后打开了jupyter的网页,关闭jupyter的网页后同时按下ctrl和C键退出终端jupyter notebook。
k
完成之后返回原始环境

source deactivate py36

相关文章

网友评论

    本文标题:服务器端使用Jupyter Hub及相关配置

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