[SOLVED] "Pip" is on the Path but Windows and Python Cant detect "Pip"

i want to install win32.api to install virtual machine, but when i go to cmd and type " -m pip install pywin32" my windows cant detect pip, pip is on the my path, i tried almost everything on internet, but still appears that: ‘-m’ is not recognized as a built-in command
or external, an operable program or a batch file."

You should either use python -m pip install pywin32 or pip install pywin32

1 Like

The recommendation on Windows is to use the Python Launcher py:

py -m pip install pywin32

1 Like

ok… now appears: C:\Users\Whatever\AppData\Local\Programs\Python\Python312\python.exe: No module named pip

note: i replaced my user name beacuse of hackers

i searched and i found this: python -m ensurepip --default-pip do this works to install pip?

WAIT NEVERMIND, I GOT IT!! YOU SOLVED IT! THANKS ANTOINE! :smile: