Using pip behind a proxy with CNTLM

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

    Warning, there is something very bad with the "pip search" command. The search command do not use the proxy setting regardless of the way it's being passed.

    I was trying to figure out the problem only trying the "search" command, and found this post with detailed explanation about that bug: https://github.com/pypa/pip/issues/1104

    I can confirm the bug remains with pip 1.5.6 on Debian 8 with python 2.7.9. The "pip install" command works like a charm.

提交回复
热议问题