解决方法 使用power shell,不适用cmd。cmd有一些bug。 $env:http_proxy="http://127.0.0.1:1080" $env:https_proxy="http://127.0.0.1:1080" 执行上面两行命令就可以了 参考 参考2