juoyter每次都是默认打开在c盘里的文件和代码,想把代码移动到d或e盘,每次打开e盘下的jupyter代码
- 配置环境变量
更改我的环境变量,用户变量-Path-编辑,新增变量,配置以下路径。
//anaconda安装路径下
xxxx\anaconda3
xxxx\anaconda3\Scripts\
xxxx\anaconda3\Library\mingw-w64\bin
xxxx\anaconda3\Library\bin
- 环境变量配置完成之后即可在任意文件夹下打开jupyter
打开方式有两种:
- win+cmd之后输入
jupyter notebook "E:\工作\xxxxxx"
- cd到代码文件,直接
jupyter notebook
参考文章:
https://blog.csdn.net/weixin_51402817/article/details/109604180