[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: |
Thu, 14 May 2020 14:04:09 +0200 |
Gary,
much obliged.
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:
$ ubxtool
ubxtool: failed to import gps, check PYTHONPATH
so did:
$ export PYTHONPATH='/usr/local/lib/python3/dist-packages'
and now works:
$ ubxtool
ubxtool: failed to connect to gpsd [Errno 111] Connection refused
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/
...
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.
Summing-up in hope that it may help others out.
Best,
Andreas
On Wed, May 13, 2020 at 6:25 PM Gary E. Miller <address@hidden> wrote:
>
> Yo Andreas!
>
> On Wed, 13 May 2020 12:49:27 +0200
> Andreas B <address@hidden> wrote:
>
> > ubxtool: ERROR: need gps module version 3.20.1~dev, got 3.19
>
> Obviously you have two different, conflicting, gpsd installed at the
> same time.
>
> > Is this related to the python package gps? If so;
>
> Yup. We don't know who does that code, it is not really 3.19. It
> may have uses on a client only host. It only causes trouble if you
> also install the real gpsd.
>
> 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