[gobolinux-users] $pythonpath

Daniele Maccari gobo.users at gmail.com
Wed Nov 21 20:13:00 NZDT 2007


Good to know. I'm going to add the lines indicated by Lucas anyway, just 
to be sure ;)

Thanks

Michael Homer ha scritto:
> On Nov 21, 2007 3:34 AM, Daniele Maccari <gobo.users at gmail.com> wrote:
>   
>> I have a similar problem. Even if I export PYTHONPATH correctly Compile
>> tells me it's not initialized as it should be.
>>
>> What could be the reason?
>>     
> Are you running Compile under sudo? sudo clears the environment
> variables before running the program, so either run Compile from a
> root shell (and set the variable there), or run `sudo env
> PYTHONPATH=$PYTHONPATH Compile ...`.
>
> I had the same problem when I was working on some Python recipes the
> other day. We really should be shipping it in the environment files,
> since the python build system or Compile seems to choke if it isn't
> defined. Or Compile should be setting it automatically itself.
> -Michael
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
>   



More information about the gobolinux-users mailing list