更改jupyter-notebook默认workspace目录

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/slz0813/article/details/78150337
1.打开 cmd ,输入命令 jupyter notebook --generate-config,将生成 jupyter_notebook_config.py文件

2.在C:\Users\Administrator\.jupyter 中的文件找到文件 jupyter_notebook_config.py

3.用记事本打开找到 # The directory to use for notebooks and kernels.
修改这一句c.NotebookApp.notebook_dir = u' 

c.NotebookApp.notebook_dir = u'D:/01MachineLearning/TensorFlow/tfWorkspace'


注:将#号删除,WIN复制路径符号"\ "改为符号“/”

猜你喜欢

转载自blog.csdn.net/slz0813/article/details/78150337