Reputation: 1
I have been working on a small rpg game by using python. I want a picture to pop up during the last boss and I have been told that is possible by using pillow
. While trying to install it via this code:
pip install pillow
I get an error that states:
'pip' is not recognized as an internal or external command, operable program or batch file.
What am I supposed to do?
Upvotes: 0
Views: 129
Reputation: 404
The issue is that the pip
script by Python is not found by Windows. The reasons may be:
PATH
variable not set properly (leading to the inability of Windows to recognize pip
, even if it is present on your device)Verify if the script is present in your Python installation folder. The default path for pip
and other scripts is C:\Users\<username>\AppData\Local\Programs\Python\<version>\Scripts
If there is a pip.exe
file in that, just add the full path of the Scripts folder to the Windows PATH
variable. Check out this link if you need help with setting the PATH
variable
If the file is absent, I recommend a clean re-install of Python on your PC (just to ensure all files are present)
Upvotes: 1