Pycharm pip install wont work behind a proxy

前端 未结 6 583
花落未央
花落未央 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:22

    There might be a couple of reasons for your issue. The first that come to mind are:

    • did you try to go to Python3 executable path and try the same command from CMD ?

      pip3.exe install --proxy=https://username:password@proxy:port packageName
      
    • you can also try the same command as above, but a bit changed:

      pip3.exe install packageName --proxy=https://username:password@proxy:port
      
    • are you sure the credentials are ok ? (apparently the connection was successfull, I just saw the first image)

    • is the proxy up ? (apparently the connection was successfull, I just saw the first image)

    I'm using the latter command and it works fine with Python 3.5.x on Windows.

提交回复
热议问题