After calling the ipython profile create ipython_notebook_config.py was not created

I installed new ipython in a virtual environment, after which I tried to create configuration files via: ipython profile create , however ipython_notebook_config.py not created, and ipython_config.py and ipython_nbconvert_config.py were created.

What can I do to create this file?

+5
source share
2 answers

Turns out I forgot to install the dependencies for the ipython laptop (I just did: pip install ipython ). After installing ipython[notebook] or ipython[all] (or just install the instructions for laptops manually) ipython profile create will also create laptop configuration files.

+6
source

You can use the following options to start the ipython laptop without the ipython_notebook_config.py file:

 IPYTHON_OPTS="notebook --port 8889 --ip='*' --no-browser" pyspark 

or for HortonWorks HDP

 IPYTHON_OPTS="notebook --port 8889 --notebook-dir=u'/usr/hdp/2.3.0.0-2557/spark/' --ip='*' --no-browser" pyspark 
0
source

Source: https://habr.com/ru/post/1200523/


All Articles