Using pip behind a proxy with CNTLM

前端 未结 30 2669
囚心锁ツ
囚心锁ツ 2020-11-22 11:00

I am trying to use pip behind a proxy at work.

One of the answers from this post suggested using CNTLM. I installed and configured it per this other post, but runnin

30条回答
  •  鱼传尺愫
    2020-11-22 11:31

    Set up invironment variable in Advanced System Settings. In Command prompt it should behave like this :

    C:\Windows\system32>echo %http_proxy%

    http://username:passowrd@proxy:port

    C:\Windows\system32>echo %https_proxy%

    http://username:password@proxy:port

    Later , Simply pip install whatEver should work.

提交回复
热议问题