Pre-requisites:
sudo easy_install virtualenv
sudo pip install virtualenvwrapper
Installing virtualenv with Python2.6:
You could manually download, build and install another version of Python to /usr/local
or another location.
If it's another location other than /usr/local
, add it to your PATH.
Reload your shell to pick up the updated PATH.
From this point on, you should be able to call the following 2 python binaries from your shell python2.5
and python2.6
Create a new instance of virtualenv with python2.6
:
mkvirtualenv --python=python2.6 yournewenv