Ipython Notebook: where is jupyter_notebook_config.py in Mac?

…衆ロ難τιáo~ 提交于 2019-12-03 01:48:35
rkrzr

Look in your home directory for a .jupyter folder. It should contain the file according to the docs:

The notebook web server can also be configured using Jupyter profiles and configuration files. The Notebook web server configuration options are set in a file named jupyter_notebook_config.py in your Jupyter directory, which itself is usually .jupyter in your home directory.

If the .jupyter folder does not contain a jupyter_notebook_config.py file, you need to generate it with jupyter notebook --generate-config.

As cqcn1991 said, you first need to generate the config file.

After drilling down from my home path here's where I found the executable to generate the config file and how I generated it.

I also had to reference the jupyter executable file with ./ as I apparently don't have that in my path just yet but will add it.

cd /Users/myMac/anaconda2/bin
 ./jupyter notebook --generate-config
Writing default config to: /Users/myMac/.jupyter/jupyter_notebook_config.py

Then I did find the config file in my home directory.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!