I'd like to play around in a virtual environment that's being interpreted purely via python3.3. On my system (Ubuntu 13.04), there are two ways to create a virtual environment.
virtualenv env
or:
pyvenv-3.3 env
If I use the old faithful, virtualenv
, I'm able to use everything as expected, however, PIP installs everything into python2.7 libs rather than python3.3 libs. So, calling scripts using
python3 script.py
Doesn't seem to work, yet:
python script.py
Works like a charm. But, obviously must be using python2.7
Now, if instead, I use the "built-in" venv from Python3+ (pyvenv-3.3
), it seems that everything get's a little whacky. It correctly places a python3.3 lib folder in the venv, however, installing modules using PIP is no longer possible as it seems to somehow reference the global rather than the virtual environment.
So, on to my question:
How would you recommend getting a working virtual environment with ONLY Python3.3(+) and PIP installing to python3.3 libs?