I know that this isn't exactly a Zope question, but it is pyhton and I am using it in Zope :) I downloaded and installed the Python Image Library (PIL). How can I get the Python interpreter to find the PIL modules. In pyhton if I enter:
import Image
I get ImportError: No module named Image If I put Image.py into a directory that python currently knows about it finds it. The question then is how do I get the interpreter to know about the new PIL directory, I don't want to move all the files to an existing directory??? Thanks, DR
On Tue, Feb 01, 2000 at 02:21:32PM -0600, Daniel G. Rusch wrote:
I know that this isn't exactly a Zope question, but it is pyhton and I am using it in Zope :)
I downloaded and installed the Python Image Library (PIL). How can I get the Python interpreter to find the PIL modules. Where did you put it? zope-dir/lib/python/PIL is good if you installed the binary version of zope (with its own copy of python), while /usr/local/lib/site-python/PIL is good if you are using your distribution installed copy of Python. -- Stephen Pitts smpitts@midsouth.rr.com webmaster - http://www.mschess.org
participants (2)
-
Daniel G. Rusch -
Stephen Pitts