PyUSB backend not accessible

14.7k views Asked by At

hey i am trying to run the simple script available in the tutorial;. the usb is getting imported but when i try to search 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
1

There are 1 answers

2
smattmyers On

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

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