jupyter notebook not starting - new Mini-conda install
See original GitHub issueI have a new Miniconda install on openSUSE linux 42.3
I’ve installed jupyter and various other bits, and jupyter notebooks won’t start without extra parameters:
> jupyter notebook --no-browser
Traceback (most recent call last):
File "/home/admin/Anaconda3/envs/udacity-nd101/bin/jupyter-notebook", line 11, in <module>
sys.exit(main())
File "/home/admin/Anaconda3/envs/udacity-nd101/lib/python3.6/site-packages/jupyter_core/application.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/home/admin/Anaconda3/envs/udacity-nd101/lib/python3.6/site-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "<decorator-gen-7>", line 2, in initialize
File "/home/admin/Anaconda3/envs/udacity-nd101/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/home/admin/Anaconda3/envs/udacity-nd101/lib/python3.6/site-packages/notebook/notebookapp.py", line 1507, in initialize
self.init_webapp()
File "/home/admin/Anaconda3/envs/udacity-nd101/lib/python3.6/site-packages/notebook/notebookapp.py", line 1297, in init_webapp
self.http_server.listen(port, self.ip)
File "/home/admin/Anaconda3/envs/udacity-nd101/lib/python3.6/site-packages/tornado/tcpserver.py", line 142, in listen
sockets = bind_sockets(port, address=address)
File "/home/admin/Anaconda3/envs/udacity-nd101/lib/python3.6/site-packages/tornado/netutil.py", line 197, in bind_sockets
sock.bind(sockaddr)
OSError: [Errno 99] Cannot assign requested address
I’ve added:
c.NotebookApp.port = 8888
c.NotebookApp.ip = '127.0.0.1'
to ~/Anaconda3/envs/env-name/lib/python3.6/site-packages/jupyter_core/tests/dotipython_empty/profile_default/ipython_notebook_config.py and that didn’t help.
It runs OK if started:
jupyter notebook --ip='127.0.01' --no-browser
Should I put these lines somewhere else or is this a defect?
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
What to do when things go wrong - The Jupyter Notebook
If you're using a menu shortcut or Anaconda launcher to start it, try opening a terminal ... check with pip or conda that...
Read more >jupyter notebook not recognized in fresh miniconda3 instalation
To answer your question: yes, you will need to run conda install jupyter . I hope that helps! Share.
Read more >How To Install Jupyter Notebook on Mac and Windows
Learn how to install Jupyter Notebook with Conda and pip. ... Go to the Windows Start menu and search for 'Anaconda Navigator' (not...
Read more >Install and Configure Jupyter Lab using Miniconda on Ubuntu ...
Step by step tutorial to install and configure Jupyter Lab · Download Miniconda · Install Miniconda · Go to the interactive bash ·...
Read more >Unable to reliably use single JypyterLab server with multiple ...
have a dedicated conda environment with jupyterlab installed in it ... of the problem and created a new issue in the jupyter notebook...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK. Wrong config files.
Added the settings to
~/.jupyter/jupyter_notebook_config.py
(after generating it) and it now works without extra command line parameters.But … there’s still a defect somewhere.
I get pretty much the same error message on Antergos. Runs fine when started with
jupyter notebook --ip='127.0.0.1'
I noticed something interesting.
It seems to me that this issue doesn’t have anything to do with jupyter or miniconda but
localhost
not being properly set on the system. This seems like something with basic knowledge about this kind of stuff should be able to fix pretty easily, however I’m not one of those people.