zoukankan      html  css  js  c++  java
  • 【解决方法】修改Jupyter默认路径

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

    • 打开Anaconda Prompt
    1. 输入 C:UsersAdmin>jupyter notebook --generate-config

      显示     Writing default config to: C:UsersAdmin.jupyterjupyter_notebook_config.py

       找到该位置 C:UsersAdmin.jupyter,打开 jupyter_notebook_config.py

       搜索dir,找到

    ## The directory to use for notebooks and kernels.

    #c.NotebookApp.notebook_dir = '#'

          修改为

        c.NotebookApp.notebook_dir = ' F:pythonJupyter'     记得去掉前面的#

    检查是否修改成功:在Anaconda Prompt 输入 jupyter notebook

    Serving notebooks from local directory:  F:pythonJupyter

    2.   Jupyter Notebook (Anaconda3)

          修改目标,起始位置

     

      目标(T):" 把其中最后面的  %USERPROFILE% 去掉.

      起始位置(S):   c.NotebookApp.notebook_dir = 'F:pythonJupyter' 中指定的  F:pythonJupyter


    安装Thems


    pip install jupyterthemes
    
    jt -t monokai -f fira -fs 12 -ofs 12 -dfs 12 -nfs 11 -tfs 11 -N -T
    
    jt -l
  • 相关阅读:
    [SDOI2016]排列计数
    Broken robot
    环路运输
    naptime
    Accumulation Degree
    选课
    没有上司的舞会
    金字塔
    Polygon
    石子合并
  • 原文地址:https://www.cnblogs.com/karkash/p/13535548.html
Copyright © 2011-2022 走看看