How to install pip3 on Windows?

2019-01-09 09:11发布

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?

2条回答
够拽才男人
2楼-- · 2019-01-09 09:37

For python3.5.3, pip3 is also installed when you install python. When you install it you may not select the add to path. Then you can find where the pip3 located and add it to path manually.

查看更多
姐就是有狂的资本
3楼-- · 2019-01-09 09:38

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 your where the 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 if check 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 .

查看更多
登录 后发表回答