Installing packages with pip gives SSL error

I recently started learning Python, new to Python, but not for programming. I have four machines on which I was able to easily install Django and Python. On the fifth machine, which is Mac Book Pro OS 10.6.8, I can install Django (or any other package for that matter) for Python2.6, but get the following error if I try it for Python 3.4.1

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

      

I tried searching the internet and the closest one I found

Can't install `pip` for` python 3.3`, but works fine for `python 2.7`

which doesn't really solve the problem.

Thanks in Advance

+3


source to share


1 answer


Per OP's comment :



Downgrading to version 1.2 to 1.2 resolves the problem. The easiest way is:

curl -O pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz tar xvfz pip-1.2.1.tar.gz cd pip-1.2.1 python setup.py install

      

0


source







All Articles