Search code examples
pythonwindowspython-3.xpip

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?


Solution

  • 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 .