Using pip behind a proxy with CNTLM

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

    It was not working for me. I had to use https at work:

    pip install --proxy=https://user@mydomain:port somepackage
    

    In order to update, add -U.

提交回复
热议问题