Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /home/public/blog/wp-includes/plugin.php on line 601

Archive of articles classified as' "OSX"

Back home

Install Python Imaging Library (PIL) on OS X 10.6 (Snow Leopard)


I look a bit painful to do this at first, but here is a very simple solution.

  1. Install brew
  2. run ‘brew instal PIL’
  3. Brew install PIL at /usr/local/Cellar/pil/1.1.7/lib/python2.6/site-packages
  4. Symlink the PIL site-packages to your Python site-packages in /Library/Python/2.6/site-packages

    ln -s /usr/local/Cellar/pil/1.1.7/lib/python2.6/site-packages/PIL /Library/Python/2.6/site-packages/PIL