[Pythonmac-SIG] PYTHONPATH question

Dieter Gyselinck dieterg at pandora.be
Mon Aug 18 19:47:29 EDT 2003


Hi Martina,

     thanx a lot for looking into this problem.  I don't think the 
server 'knows' about the path, and that is my problem.  I can't find 
good info about how to do that.  Do you know (or have resources on) how 
to fix this one?

Viel danke,
Dieter.

On Monday, August 18, 2003, at 06:38 PM, Martina Oefelein wrote:

> 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