the original pil
package is not yet compatible with python3,
So instead use pillow
a fork of pil
Warning PIL and Pillow currently cannot co-exist in the same environment. If you want to use Pillow, please remove PIL first.
first uninstall and remove your old PIL directory (if it exists)
sudo pip uninstall pil
sudo rm -rf /usr/local/lib/python3.2/dist-packages/PIL
install dependencies
sudo apt-get install libfreetype6-dev
now install pillow
pip install Pillow
make sure u have installed pillow in your /usr/local/lib/python[VERSION]/dist-packages/
if it is successfully installed you should see 2 directories like
Pillow-2.4.0-py3.2.egg-info
and PIL
see here for more details and other platforms