[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem using ubxtool: ubxtool: ERROR: need gps module version 3.20.
From: |
Andreas B |
Subject: |
Re: Problem using ubxtool: ubxtool: ERROR: need gps module version 3.20.1~dev, got 3.19 |
Date: |
Mon, 18 May 2020 11:03:51 +0200 |
Hi Gary,
On Thu, May 14, 2020 at 6:43 PM Gary E. Miller <address@hidden> wrote:
>
> Yo Andreas!
>
> On Thu, 14 May 2020 14:04:09 +0200
> Andreas B <address@hidden> wrote:
>
> > I removed all non-gpsd shipped stuff that may cause trouble. Built
> > again without problems. As said, on Ubuntu 20.04 - i.e. python3.
> > Doing:
>
> Good progress.
>
> > $ ubxtool
> > ubxtool: failed to import gps, check PYTHONPATH
>
> Which you were warninged about when you built gpsd from source.
>
> > and now works:
> > $ ubxtool
> > ubxtool: failed to connect to gpsd [Errno 111] Connection refused
>
> Are you sure you have gpsd running locally?
>
I don't. Just wanted to prove that ubxtool fires up. Thanks.
> Easy way to see:
> pstree -paul | fgrep gpsd
> netstat -apn | fgrep gpsd
>
> > Looking at the scons log I noticed the lines:
> > ...
> > Checking whether python program exists.../usr/bin/python
> > Checking Python lib dir... /usr/lib/python3/dist-packages
> > Ensure your PYTHONPATH includes /usr/local/lib/python3/dist-packages/
>
> Yup. Which is what you eventually did above.
>
> > I misinterpreted the last line thinking scons made sure (i.e. fixed)
> > the PYTHONPATH for me - but it's actually just making me aware that it
> > needs to be added.
>
> Yup. People complain otherwise.
>
> RGDS
> GARY
> ---------------------------------------------------------------------------
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
> address@hidden Tel:+1 541 382 8588
>
> Veritas liberabit vos. -- Quid est veritas?
> "If you can't measure it, you can't improve it." - Lord Kelvin