Hello group, I am having problems with my PIL installation and I wonder if anyone has any ideas.. After what looked like a successful install of PIL 1.1.5 I am getting errors like "encoder jpeg not available" even though it looked like jpeg support compiled just fine in setup. Perhaps there is a special way to install PIL for use in Zope? Any advice is much appreciated. What I'm working with: Fedora Core 4 Python 2.3.5 Zope 2.8.6 PIL 1.1.5 Thanks! Dan
Be sure that PIL is installed into the python you are using to run Zope. On Fri, 18 Aug 2006, Dan Gaibel wrote:
Hello group,
I am having problems with my PIL installation and I wonder if anyone has any ideas..
After what looked like a successful install of PIL 1.1.5 I am getting errors like "encoder jpeg not available" even though it looked like jpeg support compiled just fine in setup. Perhaps there is a special way to install PIL for use in Zope? Any advice is much appreciated.
What I'm working with:
Fedora Core 4 Python 2.3.5 Zope 2.8.6 PIL 1.1.5
Thanks!
Dan _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
--
--On 18. August 2006 11:45:19 -0400 Dan Gaibel <dg76@cornell.edu> wrote:
it looked like jpeg support compiled just fine in setup.
That's a vague description. Ensure you have libjpeg *including* all header files available. Ensure that the files are available in the common locations. If not adjust the setup.py script to your needs. There is some code that performs the necessary checks. Ensure that you compile with the Python binary that is used for your Zope interpreter. -aj
On 8/18/06, Dan Gaibel <dg76@cornell.edu> wrote:
After what looked like a successful install of PIL 1.1.5 I am getting errors like "encoder jpeg not available" even though it looked like jpeg support compiled just fine in setup.
Double-check that PIL was installed with the correct Python, namely the one that Zope runs with. The runzope and zopectl scripts will have the path to the correct python binary, use that binary to test your PIL setup. There are otherwise no special setup requirements for getting PIL to run with Zope. -- Martijn Pieters
participants (4)
-
Andreas Jung -
Dan Gaibel -
Dennis Allison -
Martijn Pieters