Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fatal Error when starting jupyter notebook

Issue: I get fatal error when I run jupyter notebook in cmd.exe as administratortor

  • in: python -m pip install jupyter
  • out: success
  • in: jupyter notebook
  • out: Fatal error in launcher: Unable to create process using '"'

I've tried the following, but I get same fatal error when I try to launch jupyter notebook from cmd

  • uninstalled jupyter and installed anadonda (https://repo.continuum.io/archive/Anaconda3-5.0.1-Windows-x86_64.exe)
  • tried answer listed here but does not resolve the issue (Fatal error in launcher: Unable to create process using ""C:\Program Files (x86)\Python33\python.exe" "C:\Program Files (x86)\Python33\pip.exe"")
  • ran pip3 install --upgrade pip and ran pip3 install jupyter
  • ran jupyter notebook --help and I get same error

Environment

  • Windows 10 Pro 64-bit version 1709 build 16299.125
  • Python 3.6.4 (see sys paths in screen shot below)

screen shot of error https://www.dropbox.com/s/ai0ualjfj87uaaq/python_issue_20180127.png?dl=0

docs used:

  • https://jupyter.readthedocs.io/en/latest/install.html
  • https://jupyter.readthedocs.io/en/latest/running.html#running
  • http://jupyter.readthedocs.io/en/latest/install.html#alternative-for-experienced-python-users-installing-jupyter-with-pip
like image 698
Webby Avatar asked Jan 27 '18 20:01

Webby


People also ask

Why can't I open my Jupyter Notebook?

All other notebooks you are connected to are also unresponsive. Loading too much data to a Jupyter notebook during a session (e.g. by printing 5000 rows in your notebook) can cause the notebook to refuse to open as well as make other notebooks unresponsive. If you can't even right click in your notebook, congrats, you just did it :D.

How to open Jupyter Notebook in Anaconda?

Click Open Terminal and run the following command to start Jupyter Notebook: This command starts the Jupyter that is installed in Anaconda, so the Python 3 that is installed in Anaconda is able to recognize it. I also faced this problem and solved it very simply following these steps: Close all Jupyter Notebook tabs on the web browser.

Why won't the JupyterHub proxy start?

If you have tried to start the JupyterHub proxy and it fails to start: check if the JupyterHub IP configuration setting is c.JupyterHub.ip = '*'; if it is, try c.JupyterHub.ip = '' Note: If this occurs on Ubuntu/Debian, check that the you are using a recent version of node.

What does the status code 500 mean on Jupyter Notebook?

But today when I opened Jupyter Notebook to read other people's code, I was surprised to find a few big words on Jupyter Notebook page: I checked the Internet and found that the status code 500 means: the server encountered an unexpected error and made an error. What the hell? This is too vague.


2 Answers

What worked for me was the command python -m notebook - I did not have Anaconda installed

like image 86
Hari5000 Avatar answered Sep 20 '22 16:09

Hari5000


I believe you need to open Jupyter notebooks by typing jupyter notebook in the anaconda prompt, not the regular windows command prompt.

like image 28
briancaffey Avatar answered Sep 21 '22 16:09

briancaffey