Unable to install or operate PIP on Windows 10

MRAB python at mrabarnett.plus.com
Sun Mar 29 19:51:36 EDT 2020


On 2020-03-29 23:34, Steven Hobbs wrote:
> 
> Hi all,
> 
> I have installed Python 3.7.7 on Windows 10 and I understood that pip came installed. However when I try using pip I get an unrecognised command error.
> 
> I tried following the instructions on this website:
> https://docs.python.org/3/installing/index.html
> 
> However usage of pip as described at this website receives an unrecognised command error. I have also tried adding the python directory to the Path variable and running commands in the Python directory.
> 
> I have also tried this website without success:
> 
> https://pip.pypa.io/en/stable/installing/
> Installation — pip 20.0.2 documentation<https://pip.pypa.io/en/stable/installing/>
> Warning. Be cautious if you are using a Python install that is managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state.
> pip.pypa.io
> 
> 
> Can I please have step by step instructions that have been verified to work with Windows 10 and Python 3.7.7 that list all requirements, dependencies and processes to install and run pip and then install libraries such as numpy and pillow.
> 
> 
> Any help would be greatly appreciated.
> 
I'd recommend using the pip module via the Python launcher instead:

py -m pip install numpy

If you have multiple Python versions installed, then you can specify 
which one you want to use, e.g. for Python 3.7:

py -3.7 -m pip install numpy


More information about the Python-list mailing list