在jupyter notebook中使用自己创建的python虚拟环境
方法步骤如下:
启动命令行界面
创建虚拟环境:conda create -n name python=3.6
启动要在jupyter notebook中使用的python环境: activate name
安装jpykernel: conda install ipykernel
安装nb_conda:conda install nb_conda
进入到项目路径下,输入:jupyter notebook
如下图,在"new"下选择想要的虚拟环境,
完事
...
原创
2020-12-04 15:54:43 ·
1491 阅读 ·
1 评论