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: Michael Byczkowski
Subject: Re: gpsd built, gps.py and ntpsec/ntploggps
Date: Tue, 23 Feb 2021 08:39:39 +0100

Thank you Gary.

> On 22. Feb 2021, at 22:49, Gary E. Miller <gem@rellim.com> wrote:
> 
> 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.

i ECHOed as suggested for bash

> 
>>> 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.

It’s Debina Buster on a Raspberry; guess it got cut off in one of the replies.

> 
> 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




reply via email to

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