3.7.4 (latest) install changes python to py and removes pip support
Jim Elphick
jelphick at onetechnologies.net
Fri Oct 11 12:02:40 EDT 2019
I upgraded my Python 3.7.3 windows install to 3.7.4 using the windows download from python.org.
After the install, the keyword "python" will no longer invoke python. "python3" also fails. "py" is now the only access to python.
py -version returns Python 3.7.4
python -version returns the following. The first is bash. The second is from powershell
bash: python: command not found
python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program.
Previous to the upgrade, "python -version" returned 3.7.3.
This is much more than an inconvenience. Pip has stopped working because it expects to find "python.exe". pipenv also no longer executes.
Pip -version returns (second is again powershell)
nothing in bash (empty string, no error)
Fatal error in launcher: Unable to create process using '"c:\program files\python37\python.exe"
Attempting to re-install pip from python fails to help.
I used the installer to completely remove python 3.7.4. My version reverted to 3.6.6. However, the problem with "py" instead of "python" persists.
Attempting to re-install pip (using 3.6.6) through "py -m pip install pip" claims "Requirement already satisfied". But, pip continues to fail. 3.6.6 was also installed using download from python.org.
So ... I attempted to re-install 3.7.3 downloaded from python.org. All of the above continues. "python" is no longer available. And pip is no longer available.
c:\program files\python37\python.exe does not exist. Also, py.exe does not exist in that directory.
I had a similar problem with my MacOS install, but I did not lose access to pip and pipenv.
Any help would be appreciated for restoring my python 3.7 install.
Thank you for any help you can provide.
Jim
More information about the Python-list
mailing list