PyUSB backend unavailable

Hey, I'm trying to run a simple script available in a tutorial ;. usb is imported, but when I try to search on the device, I get the following error, please help

>>> dev=usb.core.find()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\usb\core.py", line 819, in find
    raise ValueError('No backend available')
ValueError: No backend available
+5
source share
1 answer

You need to install libusb-1.0, libusb-0.1 or openusb as the backend for pyusb. Is this a windows machine?

If so, you can download a simple installer here: http://www.craftedge.com/products/libusb.html

+11
source

All Articles