我想通过Visual Studio下载Python包。我希望为下载这些包配置代理。
警告:由于连接中断而重试(Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001E616804630>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pydotplus/
我尝试了以下步骤,但没有成功:
- 使用
netsh
添加全局代理(https://superuser.com/a/375525/584920) - 修改
devnet.exe.config
(https://dev59.com/3p7ha4cB1Zd3GeqPm6tO#41936608)
注意: 我已经为GitHub配置了代理,在Visual Studio中可以完美地工作。