【解决方法】修改Jupyter默认路径

【解决方法】修改Jupyter默认路径

  • 打开Anaconda Prompt
  1. 输入 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

 

 

posted @ 2020-08-20 15:57  麦麦提敏  阅读(824)  评论(0编辑  收藏  举报