Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyUSB backend not accessible

Tags:

python

pyusb

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
like image 873
vj85 Avatar asked Mar 01 '11 08:03

vj85


1 Answers

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

like image 114
smattmyers Avatar answered Oct 12 '22 12:10

smattmyers