Open qingshutie opened 5 years ago
Did you resolve this? It's not a general python3 issue since this module has been update to work with python3 more than a year before this was posted.
[SOLVED]
The problem is in the file lepton3.py.
Change line 8 and 11 in Lepton3.py by adding a "." and include bracket "()" in all the print statements should fix the problem ln 8: from ioctl_numbers import _IOR, _IOW --> from .ioctl_numbers import _IOR, _IOW ln 11: from Lepton import Lepton --> from .Lepton import Lepton
I install with sudo python3 setup.py install . but import pylepton.Lepton3 error, ImportError : No module named 'ioctl_numbers'