Python Forum

Full Version: The term 'pip' is not recognized as the name of a cmdlet, function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I downloaded Python 3.11.4 via the launcher, and PIP does not work. Windows 64 bit

Quote:Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32

If I try ensurepip:
Quote:PS D:\Users\leadw\Document\Folder> python -m ensurepip
Looking in links: c:\Users\leadw\AppData\Local\Temp\tmp85vb73v7
Requirement already satisfied: setuptools in c:\users\leadw\appdata\local\programs\python\python311\lib\site-packages (65.5.0)
Requirement already satisfied: pip in c:\users\leadw\appdata\local\programs\python\python311\lib\site-packages (23.1.2)

Then If I try PIP:

Quote:PS D:\Users\leadw\Document\Folder> pip --version
>>
pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pip --version
+ ~~~
+ CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

In my user and system Path:

Quote:C:\Users\leadw\AppData\Local\Programs\Python\Python311
C:\Users\leadw\AppData\Local\Programs\Python\Python311\Scripts
If you look in C:\Users\leadw\AppData\Local\Programs\Python\Python311\Scripts do you see pip.exe?

If you open a command shell, move to C:\Users\leadw\AppData\Local\Programs\Python\Python311\Scripts can you run "pip list"?