gvalkov/python-evdev

NameError: name 'BTN' is not defined

sezanzeb opened this issue · 2 comments

sezanzeb/input-remapper#23

Jan 10 18:26:57 notebook key-mapper-service[5484]:   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
Jan 10 18:26:57 notebook key-mapper-service[5484]:   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
Jan 10 18:26:57 notebook key-mapper-service[5484]:   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
Jan 10 18:26:57 notebook key-mapper-service[5484]:   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
Jan 10 18:26:57 notebook key-mapper-service[5484]:   File "<frozen zipimport>", line 259, in load_module
Jan 10 18:26:57 notebook key-mapper-service[5484]:   File "/usr/local/lib/python3.8/dist-packages/evdev-1.3.0-py3.8-linux-x86_64.egg/evdev/ecodes.py", line 77, in <module>
Jan 10 18:26:57 notebook key-mapper-service[5484]: NameError: name 'BTN' is not defined

There must have been some compilation hook that didn't fire via setuptools

@xenburn which distro are you on? Is it reproducible with both the distros and pips package?

Can you please post the output when installing via the method that causes the above error?

possibly a duplicate of #43

which kernel are you on? uname -r