Error while installing with Python “pip”: Cannot fetch index base URL http://

后端 未结 4 1436
醉酒成梦
醉酒成梦 2020-12-31 12:30

I am trying to install a local version of ScrumDo for testing. Only then I come to the point in my installation that I have to run:

source bin/activate <

4条回答
  •  佛祖请我去吃肉
    2020-12-31 13:04

    This problem is most-likely caused by DNS setup: server cannot resolve the Domain Name, so cannot download the package.

    Solution: sudo nano /etc/network/interface

    add a line: dns-nameservers 8.8.8.8

    save file and exit

        sudo ifdown eth0 && sudo ifup eth0
    

    Then pip install should be working now.

提交回复
热议问题