Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install a specific version of pip via easy-install? - Mac OS Mavericks

I am constantly getting the

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

whenever I try to pip install anything with the most recent pip version.

I read on some other questions that pip was having SSL related issues in its latest version and recommended to install pip 1.2.1.

How do I install a specific version of pip via easy_install for example?

like image 868
currysensei Avatar asked Sep 19 '14 21:09

currysensei


2 Answers

You should be able to install pip with pip:

pip install --upgrade pip==1.2.1
like image 66
Rainy Avatar answered Sep 22 '22 21:09

Rainy


Based on your context, you can uninstall as above and then run:

sudo easy_install pip==1.2.1

No more pesky SSL errors.

like image 40
Owen Roth Avatar answered Sep 23 '22 21:09

Owen Roth