IPython - ipython_notebook_config.py is missing

When I create a profile, only 2 configuration files are created instead of 5.

ipython profile create test_3 [ProfileCreate] Generating default config file: u'/root/.ipython/profile_test_3/ipython_config.py' [ProfileCreate] Generating default config file: u'/root/.ipython/profile_test_3/ipython_kernel_config.py' 

I have 2 versions of python, 2.6.6 and 2.7. I created an alias for python to use / usr / bin / python 2.7

I installed both easy_install and pip

Full list of packages installed using pip:

alabaster (0.7.6) appnope (0.1.0) Babel (2.0) backports.ssl-match-hostname (3.4.0.2) certifi (2015.4.28) decorator (4.0.2) Django (1.8.3) docutils (0.12) funcsigs (0.4) functools32 (3.2.3.post2) gnureadline (6.3.3) ipykernel (4.0.3) ipyparallel (4.0.0) ipython (4.0.0) ipython-genutils (0.1.0) ipywidgets (4.0.2) Jinja2 (2.8) jsonschema (2.5.1) jupyter-client (4.0.0) jupyter-core (4.0.2) MarkupSafe (0.23) matplotlib (1.4.3) nebula (0.7) layout (1.3.0) nbconvert (4.0. 0) nbformat (4.0.0) nose (1.3.7) laptop (4.0.1) numpy (1.9.2) numpydoc (0,5) pandas (0,16,2) path.py (7.6) pbr (1.4. 0) pexpect (3.3) pickleshare (0.5) pip (7.1.0) ptyprocess (0.5) Pigments (2.0.2) pyring (2.0.3) Pyreadline (2.0) python-dateutil (2.4.2) pytz (2015.4) pyzmq (14,7,0) qtconsole (4.0.0) requests (2.7.0) scikit-learn (0.16.1) scipy (0,16,0) setuptools (18.1) simplegeneric (0.8.1) six (1, 9.0) snowballstemmer (1.2.0) Sphinx (1.3.1) sphinx-rtd-theme (0.1.8) terminado (0,5) testpath (0.2) tornado (4.2.1) traitedts (4.0.0)

Am I missing something? Can someone link me to ipython_notebook_config.py so that I can use it in my default profile? Is it wrong to do this?

I added ipython_notebook_config.py from the internet and edited it ... and it looks like it is ignoring it. I specify port 8888 and list port 8889. In addition, I cannot connect to this laptop.

+5
source share
2 answers

You can skip creating a profile and pass parameters directly: IPYTHON_OPTS = "notebook --no-browser --ip = '*' --port = 8889" $ SPARK_HOME / bin / pyspark

-2
source

Everything changed in jupyter from the "big switch", where laptop configurations were moved to the .jupyter folder. If you already have an existing ipython laptop configuration, try this:

 jupyter migrate 

if your laptop configuration is missing (which was mine when running ipython to create the profile), you can create a jupyter configuration with the following:

 jupyter notebook --generate-config 

this should create a ~ / .jupyter / jupyter_notebook_config.py file with the appropriate laptop settings ready for uncomment / change, such as ports and passwords.

It should be noted that for profiles jupyter no longer supports multiple profiles, but they can be specified via the command line (see http://jupyter.readthedocs.org/en/latest/migrating.html#profiles for more details)

: http://jupyter.readthedocs.org/en/latest/migrating.html

+9
source

All Articles