PIL (Python Image Library)

Mix mix77 at usa.net
Mon Feb 19 07:10:34 EST 2001


I am trying to manipulate (rotate) an image using PIL(Python
Image Library). My problem is that I cannot get PIL to work
form a browser, i.e. in my cgi script I have

     import Image

and this gives the error :

        Traceback (innermost last):
              File "/home/mixo/faxserv/cgi-bin/t1.py", line 3, in ?
                  import Image
         ImportError: No module named Image

What is causing the error? If I run the script "t1.py" as any
valid user on the machine from the command line , I get disried
result.I  know PIL has been installed as is if I run the Python i
nterpreter I can manipulate images using PIL.
I





More information about the Python-list mailing list