如何在Windows上安装pip3? [英] How to install pip3 on Windows?
本文介绍了如何在Windows上安装pip3?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用python 2.7、3.5.2和3.6.通常pip3
与python3.x一起安装.但是...
I use python 2.7, 3.5.2 and 3.6. Normally pip3
is installed with python3.x. But ...
代码:
where pip3
给我:
INFO: Could not find files for the given pattern(s).
我该如何解决?
推荐答案
在Windows上,pip3
应该位于Python安装的Scripts
路径中:
On Windows pip3
should be in the Scripts
path of your Python installation:
C:\path\to\python\Scripts\pip3
使用:
where python
找出您的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
或:
C:\path\to\python\python3.exe
您可以检查pip3
是否适用于此绝对路径:
You can if check pip3
works with this absolute path:
C:\path\to\python\Scripts\pip3
如果是,请将C:\path\to\python\Scripts
添加到您的环境变量PATH
中.
if yes, add C:\path\to\python\Scripts
to your environmental variable PATH
.
这篇关于如何在Windows上安装pip3?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文