[Pythonmac-SIG] PYTHONPATH question

Martina Oefelein Martina at Oefelein.de
Mon Aug 18 19:38:26 EDT 2003


Hi Dieter,

> I have set the $PYTHONPATH environment variable and I can import my 
> modules when I start python but when I run a cgi script, I cannot 
> import the modules. Is there a solution for this?

exactly how did you set $PYTHONPATH? Are you sure it's defined also in 
the server's context?
.MacOSX/Environment.plist is only defined in your user context, for 
example.

ciao
Martina




More information about the Pythonmac-SIG mailing list