PIP Could not find any downloads that satisfy the requirement SQLAlchemy

后端 未结 7 2028
闹比i
闹比i 2020-12-15 04:53
  • Ubuntu 12.04
  • Apache 2.2.22

pip has stopped working on my ubuntu server and gives the below error when I try to download anything.



        
相关标签:
7条回答
  • 2020-12-15 05:33

    Answer: upgrade pip.

    I had version 1.1 installed. With sudo pip install --upgrade pip I got version 8.1.2 and the package I wanted installed properly.

    0 讨论(0)
  • 2020-12-15 05:36

    Why dont you try pip install in super user. Type su and your password, then try sudo pip install SQLAlchemy

    0 讨论(0)
  • 2020-12-15 05:41

    Although it is old question, my solution may help someone.

    pip install SQLAlchemy --extra-index-url=https://pypi.python.org/simple/
    

    This works for me.

    0 讨论(0)
  • 2020-12-15 05:45

    You can pass a specific index url with -i:

    sudo pip install SQLAlchemy -i https://pypi.python.org/simple
    
    0 讨论(0)
  • 2020-12-15 05:47

    You need to fetch pypi over HTTPS, not HTTP.

    For some reason your pip is configured to retrieve from http://pypi.python.org/simple/ rather than https://pypi.python.org/simple/

    0 讨论(0)
  • 2020-12-15 05:51

    You are not using https connections, which had been used since late 2013.

    You may use --index options to correct index url. See http://pip.readthedocs.org/en/latest/reference/pip_wheel.html#index-url

    0 讨论(0)
提交回复
热议问题