From: Xiaofan C. <xia...@gm...> - 2014-11-25 01:17:26
|
On Tue, Nov 25, 2014 at 7:33 AM, Setia Budi <boe...@gm...> wrote: > Hi all, > At the moment I am working with Intel Galileo Gen2 with Yocto Linux running > on top of it. This micro PC is planned to replace some other micro PC for > field experiment. > I installed pyusb on it without any issue, however, once I run my script, > which is using pyusb module, I found this error message: > > Traceback (most recent call last): > File "pyru824.py", line 71, in <module> > RFID_READER = usb.core.find(idVendor=VENDOR_ID, idProduct=PRODUCT_ID) > File "/usr/lib/python2.7/site-packages/usb/core.py", line 1199, in find > raise ValueError('No backend available') > ValueError: No backend available > > I am just wondering whether anyone has a solution for this problem? > Thank you :) Did you install libusb-1.0? For Linux it is better to install libusb-1.0 as the backend for pyusb. If your Linux distro does not provide the package, then you need to build from source. But most Linux distros provide libusb-1.0. Website: http://libusb.info/ Download: http://sourceforge.net/projects/libusb/ -- Xiaofan |