Reputation: 347
Issue: I get fatal error when I run jupyter notebook
in cmd.exe as administratortor
python -m pip install jupyter
success
jupyter notebook
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
pip3 install --upgrade pip
and ran pip3 install jupyter
jupyter notebook --help
and I get same errorEnvironment
screen shot of error https://www.dropbox.com/s/ai0ualjfj87uaaq/python_issue_20180127.png?dl=0
docs used:
Upvotes: 10
Views: 30364
Reputation: 85
I resolved this problem on Windows by running the Anaconda Prompt as Administrator, and then launching JupyterLab. Launching JupyterLab from the Anaconda Prompt with elevated privileges seems to have solved the issue entirely.
Upvotes: 0
Reputation: 19
Had the same problem what I did was
pip install jupyter
and then, just went ahead and typed
jupyter notebook
works like magic now
Upvotes: 1
Reputation: 21
Had the same problem and tried every suggestion here and in other forums.
In the end, removing the environment via conda remove and then creating it again worked. But I had to update conda via
conda update -n base -c defaults conda
and then start the notebook via jupyter notebook
Upvotes: 0
Reputation: 1
This problem is caused by your antivirus program because I suffered from the same issue, then I discovered that my antivirus software that I am using which is Avast was blocking python.exe file for some reasons that I do not understand. So you should go to your antivirus settings and make an exception for python.exe file to unblock it.
Upvotes: 0
Reputation: 401
What worked for me was the command python -m notebook
- I did not have Anaconda installed
Upvotes: 14
Reputation: 159
For Windows users that have anaconda installed, try on Windows CMD/Powershell (better if you run it as admin):
(Assuming your environment is named "root")
activate root
jupyter notebook
Hope that helps
Upvotes: 6
Reputation: 191
Check in to your Environment Variable Paths
. If you had installed both Python(Python 2.x.x) or Python3(Python 3.x.x) you will have a problem running Scripts
file of python, since you had duplicated install. Uninstall the redundant one.
If you had tried to fix it multiple times and nothing works, try re-install your Python. This save lives every time.
Upvotes: 0
Reputation: 12295
I was using the Python37 installation from the Microsoft store, when I suddenly got the 'Fatal error in launcher: Unable to create process' error while trying to start the jupyter notebook. I actually tried every answer here, but with no succees.
The solution was to completely uninstall/delete everything Python/Jupyter related from AppData as well as the leftovers from my preceeding Anaconda installation and then go for a clean install from python.org.
I guess this is something we all have to do from time to time.
Upvotes: 0
Reputation: 620
For those ones who do not have anaconda
python -m jupyter notebook
Upvotes: 0
Reputation: 405
In my case, There was one redundant path of python3 added in the environment variable already and I was adding again. I just removed that path and run jupyter notebook through command prompt and it worked perfectly.
Upvotes: 3
Reputation: 321
I know this sounds strange ... But I ran:
python -m pip install jupyter
I did this inside my Anaconda (which I shouldn't have to do) and it installed jupyter... fixed the issue for me
Upvotes: 3
Reputation: 51
These command in cmd works:
activate root
jupyter notebook
The second command to open jupyter notebook is :
jupyter-notebook-script.py
I basically try to open notebooks with jupyter lab so what I have done is the following:
C:\ProgramData\Anaconda3\Scripts
Now every notebook will open automatically just by hitting enter and no need to type the command again and again
Upvotes: 0
Reputation: 2559
I believe you need to open Jupyter notebooks by typing jupyter notebook
in the anaconda prompt, not the regular windows command prompt.
Upvotes: 6