I'm using a blinkstick nano on Ubuntu 22.04 and getting the following problem when using the library:
>>> from blinkstick import blinkstick Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/username/.local/lib/python3.10/site-packages/blinkstick/blinkstick.py", line 11, in <module> import usb.core ModuleNotFoundError: No module named 'usb'
When checking the setup.py file it looks like it gathers the needed library based on the system it builds on and not where it will run. So on ubuntu it always installs pywinusb instead of pyusb.
Hi
I'm using a blinkstick nano on Ubuntu 22.04 and getting the following problem when using the library:
>>> from blinkstick import blinkstick Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/username/.local/lib/python3.10/site-packages/blinkstick/blinkstick.py", line 11, in <module> import usb.core ModuleNotFoundError: No module named 'usb'
When checking the setup.py file it looks like it gathers the needed library based on the system it builds on and not where it will run. So on ubuntu it always installs pywinusb instead of pyusb.Shouldnt it look something more like this?