Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ipython Notebook: where is jupyter_notebook_config.py in Mac?

Tags:

I just started using a Mac, so please forgive me if this sounds too naive.

I'm trying to install Interactive Parallel. From https://github.com/ipython/ipyparallel, it says I need to find jupyter_notebook_config.py.

I've already installed python and related packages with Anaconda, and I can use the ipython notebook. But when I search with spotlight for jupyter_notebook_config.py, I just can't find this file:

enter image description here

So, where can I find this file?

UPDATE: this is my home folder:

enter image description here

There is only anaconda.

like image 394
cqcn1991 Avatar asked Sep 17 '15 08:09

cqcn1991


People also ask

Where is jupyter_notebook_config py located?

Check to see if you have a notebook configuration file, jupyter_notebook_config.py . The default location for this file is your Jupyter folder located in your home directory: Windows: C:\Users\USERNAME\. jupyter\jupyter_notebook_config.py.

Where does jupyter notebook save files Mac?

Configuration files Config files are stored by default in the ~/. jupyter directory.


1 Answers

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.

like image 125
rkrzr Avatar answered Sep 19 '22 13:09

rkrzr