我使用 python 2.7、3.5.2 和 3.6。通常 pip3
与 python3.x 一起安装。但是……
代码:
where pip3
给我:
INFO: Could not find files for the given pattern(s).
我该如何解决这个问题?
最佳答案
在 Windows 上,pip3
应该位于 Python 安装的 Scripts
路径中:
C:\path\to\python\Scripts\pip3
用途:
where python
找出您的 Python 可执行文件所在的位置。结果应如下所示:
C:\path\to\python\python.exe
或:
C:\path\to\python\python3.exe
您可以检查 pip3
是否使用此绝对路径:
C:\path\to\python\Scripts\pip3
如果是,请将 C:\path\to\python\Scripts
添加到您的环境变量 PATH
中。
关于python - 如何在 Windows 上安装 pip3?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41501636/