Sometime last week my virtualenvwrapper installation broke the bashrc file. On irc, Theju pointed out why -- support for other shells besides bash was added in the dhellmann repo.

Here are some more useful links:


Ian's repo: http://bitbucket.org/ianb/virtualenv/

http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/

http://www.doughellmann.com/articles/pythonmagazine/completely-different/2008-05-virtualenvwrapper/index.html

http://clemesha.org/blog/2009/jul/05/modern-python-hacker-tools-virtualenv-fabric-pip/

http://www.arthurkoziel.com/2008/10/22/working-virtualenv/

http://iamzed.com/2009/05/07/a-primer-on-virtualenv/

http://pypi.python.org/pypi/pip

http://wiki.python.org/moin/BeginnersGuide

If you want to use different python installations without breaking your system, read up and try any of these tools. What environment to use is always a personal choice --some use "virtualenvwrapper" but some use " virtualenv + pip". Experiment --if it helps, i broke my system twice within this week!!

After virtualenvwrapper, I decided to try pip+virtualenv and fired up a terminal :

$ sudo aptitude install python-setuptools
$ sudo easy_install virtualenv

Searching for virtualenv
Reading http://pypi.python.org/simple/virtualenv/
Reading http://virtualenv.openplans.org
Best match: virtualenv 1.4.6
Downloading http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.6.tar.gz#md5=f576969d591a054132fe8c9165c2b3c3
Processing virtualenv-1.4.6.tar.gz
Running virtualenv-1.4.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-cpu9vj/virtualenv-1.4.6/egg-dist-tmp-nPmcHn
warning: no previously-included files matching '*.*' found under directory 'docs/_templates'
Adding virtualenv 1.4.6 to easy-install.pth file
Installing virtualenv script to /usr/local/bin
Installed /usr/local/lib/python2.6/dist-packages/virtualenv-1.4.6-py2.6.egg
Processing dependencies for virtualenv
Finished processing dependencies for virtualenv


Its that easy!!