pip connection failure: cannot fetch index base URL http://pypi.python.org/simple/

后端 未结 30 1055
后悔当初
后悔当初 2020-11-28 23:19

I run sudo pip install git-review, and get the following messages:

Downloading/unpacking git-review
  C         


        
30条回答
  •  猫巷女王i
    2020-11-28 23:49

    Extra answer: if you are doing this from chroot.

    You need source of random numbers to be able to establish secure connection to pypi.

    On linux, you can bind-mount host dev to chroot dev:

    mount --bind /dev /path-to-chroot/dev
    

提交回复
热议问题