[gobolinux-users] $pythonpath
Lucas C. Villa Real
lucasvr at gobolinux.org
Wed Nov 21 11:05:06 NZDT 2007
On Nov 20, 2007 1:39 PM, Michael Homer <gobo-users-dufus at wotfun.com> wrote:
> 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.
Could you please add the following line to your $goboSettings/sudoers? :
Defaults !env_reset, setenv
This line is being included in the new version of the Sudo recipe /
package and it was reported to fix that problem.
--
Lucas
powered by /dev/dsp
More information about the gobolinux-users
mailing list