【发布时间】:2019-05-21 22:48:05
【问题描述】:
我想通过 Visual Studio 下载 python 包。我想配置下载这些包的代理。
警告:重试(重试(总计 = 4,连接 = 无,读取 = 无, redirect=None, status=None)) 连接中断后 'NewConnectionError('
的对象:无法建立新连接: [Errno 11001] getaddrinfo failed')': /simple/pydotplus/
我尝试了以下步骤,但没有成功:
- 使用
netsh(https://superuser.com/a/375525/584920)添加全局代理 - 修改
devnet.exe.config(https://stackoverflow.com/a/41936608/2614539)
注意:我为 GitHub 配置了代理,它在 Visual Studio 中就像一个魅力。
【问题讨论】:
-
你是如何设法在 VS 中获得 github 的代理的?我也试过你上面没有运气的步骤..
-
@nat 你必须为 Git 设置用户名/密码/域值。这是我使用的解决方案:stackoverflow.com/a/68289431/7389293
标签: visual-studio proxy visual-studio-2019