Hi,
I'm trying to start interfacing with USB devices with Python which led me to 
PyUSB. I have installed the following software already:
Mac OSX 10.6.5Xcode 3.2.3Python 2.6.6 and 
3.2pkg-config-0.18.1libusb-1.0.8pyusb-1.0.0-a1

In Python (2.6) I can have it import the usb.core and usb.util but when I go to 
run a sample test program (below)
import usb.coreimport usb.utilimport sys
 # find our devicedev = usb.core.find(idVendor=0x8086, idProduct=0x00b2) # was 
it found?if dev is None:    raise ValueError('Device not found') # set the 
active configuration. With no arguments, the first# configuration will be the 
active onedev.set_configuration() print "all done"
I get this error and not the proper one
Traceback (most recent call last):  File "/Users/admin/Desktop/python test/find 
wacom", line 7, in <module>    dev = usb.core.find(idVendor=0x8086, 
idProduct=0x00b2)  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/usb/core.py",
 line 829, in find    raise ValueError('No backend available')ValueError: No 
backend available

I've looked around and found a few forums addressing the issue but didn't 
really get a clear answer. I found one that talked about making some changes to 
a file but wasn't real clear on what exactly the changes were. Any help would 
be greatly appreciated.
Thanks,mike scalisi
                                          
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to