• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes

Problem :

I run sudo pip install git-review, and get the following error
cannot fetch index base url https://pypi.python.org/simple/
by (6.9k points)  

1 Answer

0 votes

Solution :

My environment: Python 2.7.12/2.7.14 on Ubuntu 12.04.5 LTS in a virtualenv, pip version 1.1.

My Errors:

pip install nose

Cannot fetch index base URL http://pypi.python.org/simple/

in ~/.pip/pip.log:

Could not fetch URL http://pypi.python.org/simple/: HTTP Error 403: SSL is required

Curious for me as I had been running these same commands in a script without issue for about a year.

this fixed it:

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

(please note the https)

Hope this helps someone!

Further Readings:


by (21.9k points)  
edited by