JSubelj / g910-gkey-macro-support

GKey support for Logitech G910 Keyboard on Linux
GNU General Public License v3.0
99 stars 29 forks source link

[Issue] "ModuleNotFoundError: No module named 'usb'" #52

Closed FabiSahne closed 1 month ago

FabiSahne commented 2 years ago

Describe the bug After following the detailed instructions the command 'systemctl status g910-gkeys' gives following output: https://pastebin.com/1AipdGf4

To Reproduce Steps to reproduce the behavior:

  1. Install
  2. systemctl status g910-gkeys
  3. See error

Additional info

Desktop:

Edit: Added stuff in pastebin, which didn't get copied because terminal was too small

suabo commented 1 year ago

It looks like the driver can't load the pyusb package. First thing i would try is to use python3.8. I'm using python 3.8.10 and never tested it on 3.9.

If this don't work try to uninstall pyusb and python-uinput via pip and install it via distribution package: apt install python-usb python-uinput or apt install python3-usb python3-uinput

suabo commented 10 months ago

I now tested with python version 3.9.18 and everything works fine. Can you download the newest version (0.3.0) and try again?