Pycharm pip install wont work behind a proxy

前端 未结 6 581
花落未央
花落未央 2020-12-17 00:42

I\'m trying to install packages from within Pycharm in Windows 10. I am behind a proxy, so I have set up the proxy information as well as my login details and my connection

6条回答
  •  失恋的感觉
    2020-12-17 01:15

    **

    Fix the pycharm proxy issue in Macbook pro to install libraries behind the corporate proxy:

    **

    go to System settings --> HTTP Proxy

    Select Manual proxy configuration --> HTTP Proxy

    • Host Name : your company hostname --Example.com--

    • port number : specify your corporate proxy --port number--

    Check Proxy Authentication : Give your system login credentials --> Login and password --> Check Reminder box

    Check the connection: e.g: http://www.google.com

    Now you should be able to download libraries inside the proxy from pycharm.

    If you want to install packages from terminal :

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

    e.g: 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/

提交回复
热议问题