[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
Александр Лясин <alexander.lyasin@gmail.com> 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/gps.py", 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.
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
pgpze4c6QW2op.pgp
Description: OpenPGP digital signature
- gpsfake python error, Александр Лясин, 2020/08/10
- Re: gpsfake python error,
Gary E. Miller <=
- Re: gpsfake python error, Александр Лясин, 2020/08/13
- Re: gpsfake python error, Gary E. Miller, 2020/08/13
- Re: gpsfake python error, Александр Лясин, 2020/08/17
- Re: gpsfake python error, Gary E. Miller, 2020/08/17
- Re: gpsfake python error, Alexander Carver, 2020/08/17
- Re: gpsfake python error, Gary E. Miller, 2020/08/17