virtualenv

// March 2nd, 2010 // open source, programming

I kept getting back to virtualenv and every time I would totally forget how to go about it and had to start googling. Every time. Frustrating. This is usually when Plone is involved.

So.

$ sudo apt-get install python-virtualenv
$ virtualenv -p /usr/bin/python2.4 /home/cawanpink/python2.4
$ source /home/cawanpink/python2.4/bin/activate
(python2.4)$ deactivate

That’s

  • install
  • create the Python 2.4 virtual environment
  • activate the environment
  • to get out of the environment

One Response to “virtualenv”

  1. kagesenshi says:

    Or just grab the unified installer .. :P

Leave a Reply