I have tried all possible ways but not able to get out this error.Did anyone sorted out this problem?
>>> import usb.core
>>> import usb.util
>>> dev=usb.core.find(idVendor=0x04D8)
Error I'm getting is:
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
dev=usb.core.find(idVendor=0x04D8)
File "C:\Python27\lib\site-packages\usb\core.py", line 1199, in find
raise ValueError('No backend available')
ValueError: No backend available
Before it did not show any such issue it is displaying that error recently. Tried including libusb0_x86.dll in the directory C:\Python27 but still it is showing the error.Also i have installed the libusb-win32 inf wizard for the device driver. Please any python expert out here help me with this error.
First of all change your third line. You must find your device with the idVendor and the IdProduct. So use this command:
Just replace the YYYY with the right informations.
Another possible issue is that a driver is already using your device when you run your code. Try to run your code in administrator.