Hi,
I'm running pyusb-1.0.0-a1 on Python 2.5.1 on OSX 10.5.8 and getting
this error with connecting to the backend.
Python 2.5.1 (r251:54863, Jun 11 2008, 17:26:19)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import usb.core
>>> usb.core.find()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/myhome/pyusb-1.0.0-a1/usb/core.py", line 829, in find
raise ValueError('No backend available')
ValueError: No backend available
Also the same error from running tests/testall.py
.E.....
======================================================================
ERROR: runTest (test_util.FindDescriptorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/myhome/Downloads/pyusb-1.0.0-a1/tests/test_util.py",
line 66, in runTest
d = usb.core.find(idVendor=ID_VENDOR)
File "/Users/myhome/Downloads/pyusb-1.0.0-a1/usb/core.py", line 829,
in find
raise ValueError('No backend available')
ValueError: No backend available
----------------------------------------------------------------------
Ran 7 tests in 0.005s
FAILED (errors=1)
It seems like libusb isn't installed correctly, but I used 'sudo apt-get
install libusb' and after installing pyusb openusb.py, libusb10.py and
libusb01.py are in /sw/lib/python2.5/site-packages/usb/backend. Am I
missing something?
Also setting the dubug var gives me this:
ERROR:usb.backend.libusb10:Error loading libusb 1.0 backend
Chris
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
pyusb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyusb-users