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

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

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

Downloading/unpacking git-review
  C         


        
30条回答
  •  一生所求
    2020-11-28 23:44

    C:\Users\Asus>pip install matplotlib
    Downloading/unpacking matplotlib
      Cannot fetch index base URL https://pypi.python.org/simple/
      Could not find any downloads that satisfy the requirement matplotlib
    Cleaning up...
    No distributions at all found for matplotlib
    Storing debug log for failure in C:\Users\Asus\pip\pip.log
    

    I used 'easy_install pip==1.2.1' and it worked fine.

    C:\Users\Asus>easy_install pip==1.2.1
    Searching for pip==1.2.1
    Reading https://pypi.python.org/simple/pip/
    Best match: pip 1.2.1
    Downloading ...
    

    Then on using this command 'pip install matplotlib'

    C:\Users\Asus>pip install matplotlib
    Downloading/unpacking matplotlib
      Downloading matplotlib-2.0.0b4.tar.gz (unknown size):
    

提交回复
热议问题