Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unable to create process #4656

Open
debsdo opened this issue Jun 5, 2019 · 26 comments
Open

Error: Unable to create process #4656

debsdo opened this issue Jun 5, 2019 · 26 comments

Comments

@debsdo
Copy link

debsdo commented Jun 5, 2019

I get the following error when trying to open jupyter notebook using Anaconda prompt:

Unable to create process using 'C:\Users\valspirehooha\Anaconda3\envs\tensorflow_cpu\python.exe "C:\Users\valspirehooha\Anaconda3\envs\tensorflow_cpu\Scripts\jupyter-script.py" notebook'

Can anybody help?

@octo-weilian
Copy link

I have this problem as well. I was able to run jupyter notebook just fine on my base environment but not on any other environment I created.

@ajoros
Copy link

ajoros commented Nov 28, 2019

I am have the exact issue as @WilliamTjiong ... any solutions so far?

@triaction2790
Copy link

My system just developed Same issue today. Anyone with a solution?

@debsdo
Copy link
Author

debsdo commented May 26, 2020

My system just developed Same issue today. Anyone with a solution?

Try opening it from the base environment... worked for me as far as i remember.

@debsdo
Copy link
Author

debsdo commented May 26, 2020

I have this problem as well. I was able to run jupyter notebook just fine on my base environment but not on any other environment I created.

Same.

@ghost
Copy link

ghost commented May 28, 2020

Strange, it was working just fine today, then suddenly around 16:40, it stopped auto-updating and everything crashed; kernelerrors and I couldn't open jupyter notebook from my created env anymore.
Works fine when I try opening it from base, but then I can't import mxnet, a special module which needs its own d2l environment.

@triaction2790
Copy link

My advice for you is to rebuild your environment by following the steps below:

1. Activate your environment

Open your terminal, and activate your environment with conda activate...
2. Remove the existing environment
After the environment is activated, do conda uninstall scikit-learn python and type y where necessary. The command will remove sk-learn, jupyter, pandas etc.
3. Rebuild your environment
Once those packages have been successfully removed, rebuild your environment by typing conda install python=3.6.9 jupyter pandas matplotlib scikit-learn=0.22 numpy. Enter y where necessary. Wait for couple of minutes and your environment should be ready.
After that enter Jupyter notebook and jupyter notebook should be up and running.

If you have any question, I will be glad to answer them. Good luck.👍🏾

@mahakomar11
Copy link

@triaction2790 It helps me, thank you very much!

@rawanrizq
Copy link

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.

@denmonz
Copy link

denmonz commented Apr 16, 2021

I solved this issue by placing the environment from C:\Users\[my_name_with_a_space]\.conda\envs to C:\Users\Public\.conda\envs. Now that I have a path without a space, it works now.

@johanseto
Copy link

for me works uninstalling the environment or creating a new one and from terminal (anaconda prompt )we just install jupyter:

conda create environment
conda activate environment
conda install jupyter
jupyter notebook

@Rameshwar0852
Copy link

new anaconda Updates have Issue

@RanafaB18
Copy link

I get the following error when trying to open jupyter notebook using Anaconda prompt:

Unable to create process using 'C:\Users\valspirehooha\Anaconda3\envs\tensorflow_cpu\python.exe "C:\Users\valspirehooha\Anaconda3\envs\tensorflow_cpu\Scripts\jupyter-script.py" notebook'

Can anybody help?

I solved this issue by copying the python.exe from the Anaconda3 directory and pasting it in the affected environment.
Hope it helps someone.

@hiyamgh
Copy link

hiyamgh commented Nov 2, 2021

Any solutions? encountering the same problem here.

@Rameshwar0852
Copy link

Rameshwar0852 commented Nov 2, 2021 via email

@tjhallum
Copy link

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.

@Prosimio
Copy link

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.

Doesn´t work for me :(

@Prosimio
Copy link

For some reason, my env lost python.exe.
I tried to copy it from another environment but it doesn´t let me do that (I have the administration permission but fails anyways). Finally, I solved it by doing a clone of the environment:
conda create --name myclone --clone myenv

Now is working in the cloned environment.

@Cshekar24
Copy link

All my environments were working totally fine but suddenly after restarting the system, the jupyter notebook from an environment was not opening or it was suddenly crashing. Tried form anaconda prompt but getting "Unable to create Process...
All my DL dependencies were on this environment and I didn't want to create new environment completely installing all the required dependencies.

Solution: I opened the Anaconda Navigator and cloned old_env to new_env and it worked magically. I could able to open the jupyter notebook successfully and all dependencies were working fine. Hope it helps

@Hadi-mac
Copy link

I have created two virtual environments and the first one is working properly while the second one is having this issue when typing "jupyter notebook" into the conda prompt although I have installed all the required libraries as well as jupyter "conda install jupyter"
can anyone help identify the problem...

(Unable to create process using 'C:\Users\My Name.conda\envs\ai-env\python.exe "C:\Users\My Name.conda\envs\ai-env\Scripts\jupyter-script.py" notebook' )

@Me-er09
Copy link

Me-er09 commented Jan 3, 2023

I tried methods like PATH , Commands but none worked in my case and finally it worked by reinstalling anaconda into different diretory

@Fatih0234
Copy link

I get the following error when trying to open jupyter notebook using Anaconda prompt:
Unable to create process using 'C:\Users\valspirehooha\Anaconda3\envs\tensorflow_cpu\python.exe "C:\Users\valspirehooha\Anaconda3\envs\tensorflow_cpu\Scripts\jupyter-script.py" notebook'
Can anybody help?

I solved this issue by copying the python.exe from the Anaconda3 directory and pasting it in the affected environment. Hope it helps someone.

It really worked :), Thanks a lot Can you also enlighten me why in the first place it doesn't come with the environment when created?

@IniGlowreeyah
Copy link

How do it??

@Rellanos
Copy link

I have same problem. Anaconda folder was read-only. Try change it

@samueloshio
Copy link

I have same problem. Anaconda folder was read-only. Try change it

Do you mean to unchecked it? Is there anything more to do?

@Hamid2016
Copy link

Hamid2016 commented Aug 26, 2024

If you are traying to run jupyter notebook try this
python -m notebook
that works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests