[TIP] [venv] python2.5 and ssl in virtualenvs: chicken and egg

Chris Withers chris at simplistix.co.uk
Fri Mar 15 15:35:40 PDT 2013


On 15/03/2013 15:30, Chris Withers wrote:
> chris at server2:~/virtualenv$ ./test_env/bin/pip install ssl
> Downloading/unpacking ssl
> Exception:
> Traceback (most recent call last):
> <snip>
> NoSSLError:
> <snip>

My heinous workaround for this is:

server2:~# mv /usr/lib/python2.5/site-packages/ssl /usr/lib/python2.5/ssl

I now feel dirty.

Is there no better way?

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk



More information about the testing-in-python mailing list