There are good instructions on the Virtualenv official site. https://pypi.python.org/pypi/virtualenv
Basically what I did, is install pip
with sudo easy_install pip
, then used sudo pip install virtualenv
then created an environment with: virtualenv my_env
(name it what you want), following that I did: virtualenv --distribute my_env
; which installed distribute
and pip
in my virtualenv.
Again, follow the instruction on the virtualenv
page.
Kind of a hassle, coming from Ruby ;P