Jupyer Notebook, Jupyter Lab 虚拟环境配置

虚拟环境

conda create -n python36 python=3.6

使用以下命令激活:

activate python36

Notebook

安装插件

conda install nb_conda

之后打开notebook

jupyter notebook

新建中就会出现虚拟环境

Lab

在ipython中安装这个虚拟环境

python -m ipykernel install --name python36

之后打开lab

jupyter lab

就可以发现多了一个kernel

以上

猜你喜欢

转载自www.cnblogs.com/heenhui2016/p/10905154.html