Hello!
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
How can I to run gpsfake correctly?
Thanks!