Skip Navigation

Text Only/ Printer-Friendly

Carleton College

  • Home
  • Academics
  • Campus Life
  • Prospective Students
  • Alumni
  • Faculty & Staff
  • Students
  • Families

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:

MAC OSX 10.4 (Tiger):

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
  • 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)