groupgets / pylepton

Quick and dirty pure python library for interfacing with FLIR lepton
MIT License
208 stars 94 forks source link

ValueError: File "Lepton.py", line 9, in <module> from .ioctl_numbers import _IOR, _IOW #24

Open MakerStuff opened 6 years ago

MakerStuff commented 6 years ago

I've got the following error when running Lepton.py:

Traceback (most recent call last): File "Lepton.py", line 9, in <module> from .ioctl_numbers import _IOR, _IOW ValueError: Attempted relative import in non-package

Pylepton_capture does not work as well. I tested it using ssh so im not sure wheater pylepton_overlay works or not.

tmsd2001 commented 5 years ago

I think here is one point too much in the Lepton.py.

from .ioctl_numbers import _IOR, _IOW
from ioctl_numbers import _IOR, _IOW