I did everything by placing path on environment variables.
Then I run the following command:
pip install pygame
Now it is showing the following error:
Fatal error in launcher: Unable to create process using
'"c:\program files\python\python.exe" "C:\Program Files\Python\Scripts\pip.exe" install pygame':
The system cannot find the file specified.
Usually this is due to python version set on your Environment Variables.
Check PATH
(or Path
) for both System and Client variables.
If its pointing to "path/to/python-installation/Python3.x-32"
,
change it to "path/to/python-installation/Python3.x"
Again check value on both System and Client Environment Variables
Or
Just upgrade your pip
package by running below command.
python3 -m pip install --upgrade pip
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.