Using pip behind a proxy with CNTLM

前端 未结 30 2522
囚心锁ツ
囚心锁ツ 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:51

    I could achieve this by running:

    pip install --proxy=http://user:pass@your.proxy.com:3128 package==version
    

    I'm using Python 3.7.3 inside a corporative proxy.

提交回复
热议问题