PIL, Python and CGI
Richard Jones
rjones at ekit-inc.com
Sun Jun 23 22:04:16 EDT 2002
On Mon, 24 Jun 2002 12:00, Sascha Ferley wrote:
> import sys
> import _imaging
>
> sys.stderr = sys.stdout
> print "Content-Type: text/plain"
> print sys.path
You need to have the _imaging import after the content-type. Try:
import sys
sys.stderr = sys.stdout
print "Content-Type: text/plain"
import os
print os.environ
import _imaging
Compare the environ with your own too. Might be something there...
Richard
More information about the Python-list
mailing list