IPython notebook won't read the configuration file

后端 未结 2 415
不思量自难忘°
不思量自难忘° 2020-12-10 03:01

I used the following command to initialize a profile:

ipython profile create myserver

Added thses lines to ~/.ipython/profile_myserve

相关标签:
2条回答
  • 2020-12-10 03:27

    Instead of using the ipython command, use jupyter:

    jupyter notebook --profile=myserver
    

    With the release of IPython 4.0, the language-agnostic pieces of IPython, such as the notebook server, were moved to Jupyter. You can read more about The Big Split and the new release of Jupyter at those links.

    0 讨论(0)
  • 2020-12-10 03:42

    IPython has now moved to version 4.0, which means that if you are using it, it will be reading its configuration from ~/.jupyter, not ~/.ipython. You have to create a new configuration file with

    jupyter notebook --generate-config
    

    and then edit the resulting ~/.jupyter/jupyter_notebook_config.py file according to your needs.

    More installation instructions here.

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