[Edu-sig] Fw: pyGeo problems: linux progress

Arthur Arthur" <ajs@ix.netcom.com
Sat, 11 Jan 2003 12:49:27 -0500


I would very much appreciate it if someone could help me respond to Gary.

Thanks,

Art

----- Original Message -----
From: "Gary Pajer" <pajer@iname.com>
To: "Arthur" <ajs@ix.netcom.com>
Sent: Saturday, January 11, 2003 12:41 PM
Subject: Re: pyGeo problems: linux progress


> Art,
>
> PyGeo seems to run well under linux (Mandrake 9.0) if you can get it
going.
>
> I'm now facing a python issue that's always confused me.  Maybe you can
> help.  If not, I'll post to the python newsgroup.
>
> The problem on my system seems to be that /usr/lib/python2.2/PyGeo
doesn't
> appear in sys.path.  It does on my Win98 installation, but not on my
linux.
> How is sys.path initialized?  How did those entries get there?  How is it
> that Win98 knows about it but linux doesn't?  I installed both the same
way:
> from the zip.
>
> If I modify your demo scripts to add the directory by hand, everything
works
> splendidly:
>
> import sys
> sys.path.append('/usr/lib/python2.2/PyGeo')
>
> and away we go.
>
> I think everything will be fine if I can figure out how to get that
> directory on sys.path by default.  Do you know how to do that?
>
> -Gary
>