Python 3 virtualenvs

D.M. Procida real-not-anti-spam-address at apple-juice.co.uk
Fri Nov 27 19:37:21 EST 2015


I have a new installation of Debian Jessie, with Python 2.7 and 3.4
installed.

I want to use Python 3.4 by default for most things, so I want
virtualenv to create Python 3.4 virtualenvs unless I ask it to
otherwise.

It turns out that this seems to be inordinately complex.

The best solution I have come up with is to alias virtualenv to
'virtualenv -p python3.5', which seems really ugly and clunky.

Then I discover things like
<http://askubuntu.com/questions/603935/pyvenv-vs-venv-vs-python-virtualenv-vs-virtualenv-and-python-3>
and realise it's not just me, it really is a nasty mess and nobody seems
to understand what's going on.

Daniele



More information about the Python-list mailing list