Ipython Notebook: where is jupyter_notebook_config.py located on Mac?

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

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

I have already installed python and related packages with Anaconda and I can use ipython laptop. But when I search for spotlight for jupyter_notebook_config.py , I just cannot find this file:

enter image description here

So where can I find this file?

UPDATE: this is my home folder:

enter image description here

Only Anaconda .

+6
source share
2 answers

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

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

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

+5
source

As cqcn1991 said, you first need to generate a configuration file.

After drilling from my home path here, where I found the executable to create the configuration file and how I created it.

I also had to reference the jupyter s executable. /, since I apparently do not have this in my path, but he 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 found the configuration file in my home directory.

0
source

All Articles