gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gpsd built, gps.py and ntpsec/ntploggps


From: Gary E. Miller
Subject: Re: gpsd built, gps.py and ntpsec/ntploggps
Date: Mon, 22 Feb 2021 13:49:17 -0800

Yo Michael!

On Mon, 22 Feb 2021 22:27:18 +0100
Michael Byczkowski <by@by-online.de> wrote:

> > When you built gpsd, it said something like this:
> > 
> >    "Ensure your PYTHONPATH includes /usr/local/lib/pythonXXXX"
> > 
> > Did you follow that instruction?  
> 
> Yes, i did

I can't correlate that with your next statement.

> > Easy to see, just run this:
> > 
> >    $ echo $PYTHONPATH
> >    /usr/local/lib/pythonXXXX  
> 
> I did exactly that and it helps with my shell, but when
> /usr/sbin/ntploggps is run by cron or alike, it still breaks with
> 'can't find Python GPSD library’ as before…

Then you did not change your PYTHONPATH system wide.  You only changed
it in your shell.  Not sure if changed your current shell, or your
.bashrc, but not system wide.  So your prior statement is not completely
true.  In Gentoo you set PYTHONPATH system wide this way:

    echo "PYTHONPATH=/usr/local/lib/pythonXXX" >> /etc/env.d/99local

Without knowing your OS, I can't comment on the best way for you to do it.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpAMXk87RtQV.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]