I’m using windows 10 and I got rid of python 3.8 and installed 3.7 as the only python version on my system.
When trying to install libraries using pip I now get the error:
Fatal error in launcher: Unable to create process using '"c:usersuserappdatalocalprogramspythonpython38-32python.exe" "C:UsersUserAppDataLocalProgramsPythonPython38-32Scriptspip.exe" install pygame_menu': The system cannot find the file specified.
when I checked in the console which -a pip
I got:
C:UsersUser>which -a pip /cygdrive/c/Users/User/AppData/Local/Programs/Python/Python38-32/Scripts/pip /cygdrive/c/Users/User/AppData/Local/Programs/Python/Python37/Scripts/pip
Now when I look for Python in my variable path it is alright… Anyways I can’t figure out how to change the path of pip so the right one is selected… besides its pretty weird that ive uninstalled python and pip multiple times and it still gets it wrong every time during installation.
Thanks
Advertisement
Answer
to fix do this :
check if you still have the python38-32 folder in your local variable list
Delete the “%userprofile%AppDataLocalProgramsPythonPython38” folder
run pip from command line
if the problem still persists then type “environment variables” in the windows search box
and add “%userprofile%AppDataLocalProgramsPythonPython37” to your system variable named “Path”
This should completely fix your problem
if not
- uninstall all the python files including py launcher
- reinstall python # when installing you must select
ADD PYTHON to system environment variable