[Zope] How to install PIL with Zope.

Yuji Sato yujis@forest-e.co.jp
Tue, 06 Aug 2002 16:33:23 +0900


How to install PIL with Zope.

I'd lile to using Photo Product on Linux.
But I'm in troubled by installation of PIL with Zope2.5.1(Binary).

I guess it is because I use both python1.5.2 from Redhat(7.2) and
python2.1.3 from Zope(2.5.1).
when I try import _imaging using PIL compiled with each python, there
are different solution below:


# /opt/zope/bin/python
Python 2.1.3 (#1, Apr 15 2002, 11:13:45)
[GCC 2.7.2.3] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import _imaging
WARNING: Python C API version mismatch for module _imaging:
This Python has API version 1010, module _imaging has version 1007.
>>>

# /usr/bin/python
Python 1.5.2 (#1, Jul 5 2001, 03:02:19) [GCC 2.96 20000731 (Red Hat
Linux 7.1
2 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _imaging

Do you have any good solution ?

Yujis