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

后端 未结 6 643
死守一世寂寞
死守一世寂寞 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:45

    If you want to install any packages using pip then it is better to follow below syntax:

    sudo pip --proxy=http://username:password@proxyURL:portNumber install yolk
    

提交回复
热议问题