Programmers learn & share
0 votes

Problem :

I run sudo pip install git-review, and get the following error
cannot fetch index base url
by (6.9k points)   | 439 views

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

in ~/.pip/pip.log:

Could not fetch URL 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=

(please note the https)

Hope this helps someone!

Further Readings:

by (36.1k points)  
edited by
2,183 questions
2,486 answers
241 users