Ipython Notebook: where is jupyter_notebook_config.py in Mac?

后端 未结 4 1638
太阳男子
太阳男子 2021-02-05 08:44

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/ipyp

相关标签:
4条回答
  • 2021-02-05 09:18

    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.

    0 讨论(0)
  • 2021-02-05 09:19

    try this command:

    jupyter --paths
    

    http://jupyter.readthedocs.io/en/latest/projects/jupyter-directories.html

    0 讨论(0)
  • 2021-02-05 09:33

    Should you Uninstalling Anaconda for that :

    $ herm -rf ~/anaconda3re
    
    $ conda install anaconda-clean
    
    $ anaconda-clean
    
    $ anaconda-clean --yes
    
    $ export PATH="/Users/jsmith/anaconda3/bin:$PATH"
    

    That's Solve my problem On mac ; For more information visite : https://docs.anaconda.com/anaconda/install/uninstall/

    0 讨论(0)
  • 2021-02-05 09:36

    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.

    0 讨论(0)
提交回复
热议问题