点安装失败,显示“需要407代理身份验证”

时间:2018-10-25 15:20:23

标签: pip easy-install

sudo -E easy_install pip不起作用,出现以下错误。我已经设置了http_proxy。如何将用户名和密码传递给上述命令。我在公司代理后面。

sudo -E easy_install pip
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: Tunnel connection failed: 407 Proxy Authentication Required -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: Tunnel connection failed: 407 Proxy Authentication Required -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')

0 个答案:

没有答案