gpsd-users
[Top][All Lists]
Advanced

[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: Gary E. Miller
Subject: Re: Problem using ubxtool: ubxtool: ERROR: need gps module version 3.20.1~dev, got 3.19
Date: Thu, 14 May 2020 09:43:04 -0700

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?

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

Attachment: pgpuShqpQPt1Y.pgp
Description: OpenPGP digital signature


reply via email to

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