To install easy_install for a specific python version. I just installed from source and used the python version you want to install setuptools too. I used the following steps in Ubuntu 11.04 with Python 2.5 and Python 2.7 installed. The following commands will install setuptools to python 2.5

tar -zxvf setuptools-0.6c11.tar.gz cd setuptools-0.6c11/  
sudo python2.5 install

The following command installs the pil module to 2.5:
sudo easy_install-2.5 pil

This command installs the pil module to 2.7:
sudo easy\_install-2.7 pil


comments powered by Disqus