From: Michael H. <mic...@ri...> - 2018-02-08 00:50:19
|
I'm having trouble make pyusb work at all. When typing usb stuff in interactive mode, usb.core.find(...) either produces ant empty list or something that prints as nothing. \Python27\python search.py produced ValueError: No backend available . search.py : import usb.core import usb.util import usb.control import array dev = usb.core.find(find_all=True) print dev dev = usb.core.find() dev = usb.core.find(find_all=True, idVendor=0x045e, idProduct=0x0040) # my mouse print dev dev = usb.core.find( idVendor=0x045e, idProduct=0x0040) # my mouse print dev dev = usb.core.find(find_all=True, idVendor=0x03eb, idProduct=0x2141) # Atmel ICE print dev dev = usb.core.find( idVendor=0x03eb, idProduct=0x2141) # Atmel ICE print dev I'm on Windows 10. A find on libusb produces only files with names beginning libusb0. How do I make pyusb work? Michael Hennebry |