[Zope] Photo browsing products for Zope
Paul Browning
paul.browning@bristol.ac.uk
Tue, 24 Dec 2002 06:22:13 -0000
--On 23 December 2002 19:08 -0500 Ed Leafe <ed@leafe.com> wrote:
>
> Not if I run [zopedir]/bin/python. If I run the /usr/bin/python instead,
> I can import w/o problem.
>
>> If not, check why and/or post the errors here...
>
> [root@marge 2-6-0]# ./bin/python
> Python 2.1.3 (#1, Sep 19 2002, 13:15:46)
> [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
> Type "copyright", "credits" or "license" for more information.
> >>> import _imaging
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: No module named _imaging
You've got a problem with the environment variables used
by [zopedir]/bin/python.
One way of working round this is to edit your start script
in [zopedir] so Zope uses /usr/bin/python. This may break
other things though.
Paul
--
The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/