pip exception: AttributeError: 'NoneType' object has no attribute 'startswith'

前端 未结 1 1618
广开言路
广开言路 2021-01-16 02:02

When I use pip to install some packages, I always get the same exception:

PS C:\\Users\\84682\\Desktop> pip install         


        
1条回答
  •  离开以前
    2021-01-16 02:36

    I got the same error message trying to run pip from a docker compose. The underlying problem which caused the error was that I had defined my proxy setting with one slash too few: http:/myproxy... .

    Then after correcting that bug everything worked.

    I hope this helps somebody who has the same problem.

    0 讨论(0)
提交回复
热议问题