简体   繁体   中英

install packages pycharm due to proxy

I'm using pycharm with python 3.7. I can't install any packages, due to a proxy problem. When i try this: pip install pandas I get this error:pip._vendor.urllib3.exceptions.LocationParseError: Failed to parse: proxy. But the the proxy that appears in the error, is different from the one i got in pycharm. The proxy doesn't require credentials. Thanks

kindly refer this https://stackoverflow.com/a/57405336/6904845

hope this helps :

From termial use :

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

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

Username:corporate id Password having special characters use Unicode Unicode for @ will be %40 . Please find the below link for Unicode conversion https://r12a.github.io/app-conversion/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM