Jupyter notebook切换python环境及打开默认文件夹以外的文件

安装nb_conda

conda install nb_conda

切换到需要使用的jupyter环境中

source activate py37
conda install ipykernel

然后jupyter notebook进入环境

win + R 进入CMD模式,在cmd窗口中输入下面代码即可打开 E盘下的OpenTry文件夹
cd /d E:\OpenTry
jupyter notebook
jupyter启动目录就变成了 OpenTry

参考文章:
https://blog.csdn.net/hpuhjl/article/details/97235065
https://blog.csdn.net/yefcion/article/details/79431760

你可能感兴趣的:(Jupyter notebook切换python环境及打开默认文件夹以外的文件)