Pip tidak diakui sebagai perintah internal atau eksternal, program yang dapat dioperasikan atau file batch.
py -m pip install [packagename]
Graceful Grivet
py -m pip install [packagename]
import os
import sys
pipPath = f'{os.path.dirname(sys.executable)}\\Scripts'
os.system(f'setx PATH "%PATH%;{pipPath}"')
python -m pip install [packagename]
Go to command prompt and check which folders are in PATH, by pasting this
C:\Users\User>echo %PATH%
Then check if python is one of those folders. If pip is already installed
it should be in the Scripts folder in the python folder.
You can copy/paste the file called 'pip' in the python folder.
Since this folder is in PATH pip is also gonna be in PATH.
Check in the command prompt by typing something like: "pip install pygame".
(It may be a wierd way but it's the only one that worked for me)
All possible working solution added [Solved] ‘pip’ is not recognized as an internal or external command
Checkout solution for Python pip: command not found Solution