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')