Closed j6k4m8 closed 6 years ago
This looks to be an issue with the component of pyusb. Pyusb supports any of 3 different backends but they are not installed by default.
The most common backend is called libusb per https://github.com/pyusb/pyusb/issues/120
If you're on a MAC you can install libusb via: brew install libusb
On Windows you can follow the info here. https://github.com/walac/pyusb/blob/master/README.rst#installing
On Ubuntu 16.04/18.04 sudo apt-get install libusb-1.0-0
What kind of system are you on?
On a mac — libusb solved, thank you! Still having trouble with communicating with the light, but I'll see if I can figure it out before bugging you. Thank you!!
Check out the example.py too to see all of the various things supported.
Feel free to open another issue as well. Always happy to help. I've been meaning to put this in PyPi but I haven't gotten around to it yet.
@j6k4m8 FYI I'm now catching this error in the most recent version.
When running the test code from the readme, it throws this error:
This is the line that's failing:
https://github.com/ericpulvino/pyBusylight/blob/31f37184736a973e409fdd8f808b1c1c0456110d/pybusylight.py#L29
[EDIT] The above line conflicts with my system's reported product/vendor IDs:
Product ID: 0x3bcd Vendor ID: 0x27bb