我在运行的几个版本的python3上看到pip的以下错误:
...
raise MissingSchema('Proxy URLs must have explicit schemes.')
pip._vendor.requests.exceptions.MissingSchema: Proxy URLs must have explicit schemes.
Run Code Online (Sandbox Code Playgroud)
它看起来像请求库的东西.
这是python 3.3.4上的pip 1.5.2
tri*_*eee 14
我猜测新版本更严格地检查您的代理设置是否有效.如果你有一个环境变量,http_proxy=localhost:3128那么更新它http_proxy=http://localhost:3128,你应该没事了.(同上https_proxy- 实际上我猜最近版本的pip坚持使用HTTPS?)