jupyter installation directory and generate

content

1, the installation jupyter notebook

pip install jupyter

Installation slow or failed Tsinghua source may be used:

pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple

2, modify the default path to save the file
to perform the configuration file generation command:

jupyter notebook--generate-config

After executing the command to generate a file location will be prompted in the console, in general default

C:\Users\Administrator\.jupyter\jupyter_notebook_config.py

Locate the file, and open jupyter_notebook_config.py search c.NotebookApp.notebook_dir (about 261 lines)

To remove the number #, you want the value to the directory where the file path Jupyter notebook.

3, plug-in installation directory

pip install jupyter_contrib_nbextensions

Many online tutorials to introduce to you over here, if you go here to perform, you will find, or not.

4, configuration nbextension

jupyter contrib nbextension install --user --skip-running-check

5, start jupyter

jupyter notebook

After starting you'll see a new option:

6, open toc
point to open this option, selectTable of Contents

Maybe you have not checked, only need to be checked to cancel the figure below option is selected

At this point in the editing went to see more options:

Click on the left you can see the catalog generation.

Written in the last

.....

Guess you like

Origin www.cnblogs.com/jayafsmw/p/12286580.html