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

Marius Gedminas marius at gedmin.as
Sat Mar 16 00:12:28 PDT 2013

On Fri, Mar 15, 2013 at 03:35:40PM -0700, Chris Withers wrote:
> 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?

Sounds like a virtualenv bug to me.

https://pypi.python.org/pypi/virtualenv claims it supports Python 2.5.
To me this means it ought to install 3rd-party libraries like ssl (added
to Python's stdlib in 2.6) needed for its own execution during
virtualenv creation, just like it installs distribute.

File a bug maybe?

Marius Gedminas
There is a 70% probability of tomorrow. (Actual weatherman quote, 1988)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20130316/77048aab/attachment.pgp>

More information about the testing-in-python mailing list