Hi Mike,

What about your library path? Does it point to /usr/local/lib ?

Wander

2010/5/5 Mike Lawrence <mike.lawre...@dal.ca>

> Hi folks,
>
> Apologies if I've missed the solution to this in my search of the
> mailing list's archives, but I'm getting a "No backend available"
> error when using pyusb-1.0.0-a0 with libusb-1.0.8. Both compiled fine
> and I see all the requisite files in /usr/local/lib (
> libusb-1.0.0.dylib, libusb-1.0.a, libusb-1.0.dylib, libusb-1.0.la ),
> but:
>
> Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39)
> [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import usb; usb.busses()
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/usb/legacy.py",
> line 326, in busses
>    return (Bus(),)
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/usb/legacy.py",
> line 322, in __init__
>    self.devices = [Device(d) for d in core.find(find_all=True)]
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/usb/core.py",
> line 819, in find
>    raise ValueError('No backend available')
> ValueError: No backend available
>
>
> Any suggestions?
>
>
> --
> Mike Lawrence
> Graduate Student
> Department of Psychology
> Dalhousie University
>
> Looking to arrange a meeting? Check my public calendar:
> http://tr.im/mikes_public_calendar
>
> ~ Certainty is folly... I think. ~
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
------------------------------------------------------------------------------
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to