Python pip error: “Cannot fetch index base URL https://pypi.python.org/simple/”

后端 未结 6 635
死守一世寂寞
死守一世寂寞 2021-02-05 08:38

I\'m trying to install several packages using pip. When I do this using sudo, this error occurs: \"Cannot fetch index base URL https://pypi.python.org/simple/\". When I execute

6条回答
  •  孤独总比滥情好
    2021-02-05 08:41

    From the pip docs, if you are installing behind a proxy:

    python get-pip.py --proxy="[user:passwd@]proxy.server:port"

提交回复
热议问题