PIL (Python Imaging Library)
PIL (aka the Python Imaging Library) is used in many of the Carleton College Intro CS courses. This page contains installation instructions:
WINDOWS XP:
- The latest downloads of PIL for windows can be found at http://www.pythonware.com/products/pil/.
- Download the current release: http://effbot.org/downloads/PIL-1.1.6.win32-py2.5.exe
- Double click on the downloaded executable. And that will install PIL.
MAC OSX 10.4 (Tiger):
- PIL for the mac can be found at http://pythonmac.org/packages/py25-fat/index.html
- Scroll half way down the page until you find PIL dmg, and download the current release: http://pythonmac.org/packages/py25-fat/dmg/PIL-1.1.6-py2.5-macosx10.4-2007-05-18.dmg
- double click the dmg, and follow the directions in the dmg to finish installing PIL.
MAC OSX 10.5 (Leopard):
- PIL for 10.5 has not been packaged into a dmg yet so we will need to use the Terminal for this, to open Terminal go to Applications>Utilities and find terminal.
- Now if you have installed wget in the past you can type at the command prompt:
-
- wget
http://www.ijg.org/files/jpegsrc.v6b.tar.gz
- wget
- If you haven't installed wget just open a web browser and navigate to the following address and the file will automatically download.
-
-
http://www.ijg.org/files/jpegsrc.v6b.tar.gz
-
- At the command line type the following:
-
-
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b/
./configure
make
sudo make install-lib -
- Note ./configure, make, and sudo make install-lib may take some time
-
- If you are able to use wget use it on the following address, if not just type into your browser as before:
-
http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz
- At the command line type to finish your install:
-
-
tar zxvf Imaging-1.1.6.tar.gz
cd Imaging-1.1.6
sudo python setup.py install
-
If you have any questions about installing PIL for Windows, Mac, or any other operating system, please contact Michael Tie (mtie@carleton.edu x4067)







