由于代理安装软件包pycharm

时间:2018-11-27 15:27:16

标签: python pycharm

我在python 3.7中使用pycharm。 由于代理问题,我无法安装任何软件包。当我尝试这个: 点安装熊猫 我收到此错误:pip._vendor.urllib3.exceptions.LocationParseError:无法解析:代理。 但是出现在错误中的代理与我在pycharm中获得的代理不同。 代理不需要凭据。 谢谢

1 个答案:

答案 0 :(得分:0)

请参考此https://stackoverflow.com/a/57405336/6904845

希望这会有所帮助:

通过终端使用:

pip install --proxy http://username:password@proxy.com:port

例如:pip install --proxy http://manojnirale:password%40@proxy.com:8080 spacy

用户名:公司ID 具有特殊字符的密码使用Unicode @的Unicode将为%40。 请找到以下链接进行Unicode转换 https://r12a.github.io/app-conversion/

相关问题