Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lenpton3_dev can't work on python3 #26

Open
qingshutie opened this issue Aug 30, 2018 · 2 comments
Open

Lenpton3_dev can't work on python3 #26

qingshutie opened this issue Aug 30, 2018 · 2 comments

Comments

@qingshutie
Copy link

I install with sudo python3 setup.py install . but import pylepton.Lepton3 error, ImportError : No module named 'ioctl_numbers'

@kekiefer
Copy link
Member

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.

@nam-dinh-codes
Copy link

[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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants