[Top][All Lists]

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

Re: gpsfake python error

From: Gary E. Miller
Subject: Re: gpsfake python error
Date: Mon, 10 Aug 2020 15:03:46 -0700

Yo Александр!

On Mon, 10 Aug 2020 22:22:29 +0500
Александр Лясин <> wrote:

> I compiled gpsd for my ARM board and copied gpsd and py utilities
> (gpsfake etc.) to /usr/bin on the board. I copied gps python packet
> to /usr/lib/python2.7/dist-packages/gps. When I run the program
> gpsfake, get next:
> PYTHONPATH=/usr/lib/python2.7/dist-packages/gps gpsfake -u -P 3000
> /root/NMEA.txt
> Traceback (most recent call last):
>   File "/usr/sbin/gpsfake", line 28, in <module>
>     import gps
>   File "/usr/lib/python2.7/dist-packages/gps/", line 23, in
> <module> from .client import *
> ValueError: Attempted relative import in non-package

That whole thing with Python modules changed a lot.  So without knowing
the gpsd version you are using there is no way to comment.

I am also confused that you "compeild gpsd", but thengrab files from
"usr/lib".  When you compile by default then files go in /usr/local/lib.

The easiest thing is to send your entire build log.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  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: pgpze4c6QW2op.pgp
Description: OpenPGP digital signature

reply via email to

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