【解决方法】修改Jupyter默认路径
- 打开Anaconda Prompt
-
输入
C:\Users\Admin>jupyter notebook --generate-config显示
Writing default config to: C:\Users\Admin\.jupyter\jupyter_notebook_config.py
找到该位置 C:\Users\Admin\.jupyter,打开 jupyter_notebook_config.py,
搜索dir,找到
## The directory to use for notebooks and kernels.
#c.NotebookApp.notebook_dir = '#'
修改为
c.NotebookApp.notebook_dir = ' 记得去掉前面的#' F:\python\Jupyter
检查是否修改成功:在Anaconda Prompt 输入 jupyter notebook,
Serving notebooks from local directory: F:\python\Jupyter
2. Jupyter Notebook (Anaconda3)
修改目标,起始位置

目标(T):" 把其中最后面的 %USERPROFILE% 去掉.
起始位置(S): c.NotebookApp.notebook_dir = ' 中指定的 'F:\python\Jupyter F:\python\Jupyter
安装Thems
pip install jupyterthemes jt -t monokai -f fira -fs 12 -ofs 12 -dfs 12 -nfs 11 -tfs 11 -N -T jt -l

浙公网安备 33010602011771号