Python Forum
The term 'pip' is not recognized as the name of a cmdlet, function - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: The term 'pip' is not recognized as the name of a cmdlet, function (/thread-40346.html)



The term 'pip' is not recognized as the name of a cmdlet, function - michaelnicol - Jul-14-2023

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



RE: The term 'pip' is not recognized as the name of a cmdlet, function - deanhystad - Jul-16-2023

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"?