You are here: Home Tech Install Plone with ZopeSkel, Buildout; needs PIL

Install Plone with ZopeSkel, Buildout; needs PIL

by Chris Shenton last modified Oct 02, 2008 03:53 PM
Martin Aspeli's instructions work fine, but I had to add PIL to the buildout.cfg.

I sometimes use the UnifiedInstaller, and other times use the ZopeSkel approach that Martin Aspeli documented so thoroughly.

I like to install a private python in /usr/local, and try to prevent polluting its site-packages with anything but essentials like setuptools, paster, virtualenv...

Here's a succint list of commands I used to bring it up using that python:

sudo /usr/local/python/2.4.4/bin/easy_install setuptools
sudo /usr/local/python/2.4.4/bin/easy_install -U ZopeSkel
/usr/local/python/2.4.4/bin/paster create -t plone3_buildout me2
cd me2
bin/buildout -Nv

This failed because it couldn't find the python imaging library:

ImportError: No module named PIL

I updated the buildout.cfg file to include:

parts =
eggs =

# Build egg with Chris McDonough's custom packaging of setuptools-compatibile PIL
recipe = zc.recipe.egg
egg = PIL==1.1.6
find-links =

When I ran buildout again, it build PIL against the system libraries on my OS X box.

I was then able to start up the instance and go to the ZMI and add a Plone Site.

bin/buildout -Nv
bin/instance fg
Share this: