Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fatal error in launcher: Unable to create process using '"' in python

I had python 2.7 before and then I installed python 3.4.The OS is windows 10

I have renamed

C:\python27\python.exe to python2.exe (when I run python2 --version it shows correct version)

and

C:\python34\python.exe to python3.exe (when I run python3 --version it shows correct version)

I have set the path variable manually and there is no space etc.

I was trying to create a virtual environment and assign python34 to this new environment. I was going through this SO reference -- Using VirtualEnv with multiple Python versions on windows

prompt>> virtualenv -p c:\Python34\python3.exe casenv

But I got an error--

Fatal error in launcher: Unable to create process using '"'

Do I need to install virtualenv again for python34 or somewhere I need to set virtualenv path for each python installation.

Any help is highly welcomed.

like image 419
Prithviraj Mitra Avatar asked Aug 05 '17 00:08

Prithviraj Mitra


People also ask

How do I fix the fatal error in Python launcher?

How do I fix fatal error in launcher pip? downloading Python 3 at the official website and installing it via express installation. Copy & Paste the standalone python into the ampps/python folder and overwriting the python version provided by AMPPS. running python -m pip install –upgrade pip in cmd.

How do I fix unable to create process?

How do you fix fatal error in launcher unable to create process using the system Cannot find the file specified? Or, fix it completely: Try to run python3 -m pip install –upgrade pip in cmd. If failed in step 1, try python3 -m pip install –upgrade –force-reinstall pip.

How do I get pip in Python?

Step 1: Download the get-pip.py (https://bootstrap.pypa.io/get-pip.py) file and store it in the same directory as python is installed. Step 2: Change the current path of the directory in the command line to the path of the directory where the above file exists. Step 4: Now wait through the installation process. Voila!

How do you check pip is installed or not?

To check if PIP is already installed on Windows, we should open the command line again, type pip , and press Enter . If PIP is installed, we will receive a long notification explaining the program usage, all the available commands and options.


1 Answers

In my case, i had installed python 3.6 and uninstalled python 2.7 when i got this error. Completely deleting the C:\Python2.7 directory did the trick.

like image 81
Sergiu Ionescu Avatar answered Sep 25 '22 16:09

Sergiu Ionescu