【发布时间】:2020-04-21 06:54:03
【问题描述】:
我在 Windows 上使用 Python 3.8.1,并且我有来自 c:\python381\lib\site-packages\pip (python 3.8) 的 pip 19.2.3。
在 cmd 中,当我输入“pip install django”时,我得到:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required'))': /simple/django/
我查看了代理错误并尝试使用以下方法修复它:
:\set http_proxy=http://username:password@proxyAddress:port
我正在使用我用来登录系统的用户名和密码。我正在使用在“代理服务器”下的 LAN 设置中找到的端口号。我也应该更新代理地址?这是灰色的。
运行上述程序时,我收到相同的错误消息。有谁知道如何解决这个问题?
【问题讨论】:
-
代理服务器的用户名和密码可能与我用于登录系统的用户名和密码不同。