Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install pip3 on Windows?

I use python 2.7, 3.5.2 and 3.6. Normally pip3 is installed with python3.x. But ...

The code:

where pip3 

gives me:

INFO: Could not find files for the given pattern(s). 

How can I fix this?

like image 649
kame Avatar asked Jan 06 '17 08:01

kame


People also ask

Can you use pip3 on Windows?

It is very easy to install pip3 on windows. You need to install a python file and run it using the command prompt. Make sure you have the old version of python to run this file.


1 Answers

On Windows pip3 should be in the Scripts path of your Python installation:

C:\path\to\python\Scripts\pip3 

Use:

where python 

to find out where your Python executable(s) is/are located. The result should look like this:

C:\path\to\python\python.exe 

or:

C:\path\to\python\python3.exe 

You can check if pip3 works with this absolute path:

C:\path\to\python\Scripts\pip3 

if yes, add C:\path\to\python\Scripts to your environmental variable PATH .

like image 119
Mike Müller Avatar answered Nov 05 '22 13:11

Mike Müller