Hi. I've built libusb-1.0 beta something (the current download as of the evening of 2014.10.26) under OSX 10.6.8.
All appeared to go well. libusb-1.0(etc) files landed, unsurprisingly and without demur, in... */usr/local/lib* I have added the following two lines to .bash_profile, and made all attempts from a terminal window instantiated after these additions: *export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/lib* *export DYLD_LIBRARY_PATH=/usr/local/lib* I then installed PyUSB which also went ok, and attempted the following minimalist python escapade in a script: *import usb.core* *dev = usb.core.find(idVendor=0xfffe, idProduct=0x0001)* *if dev is None:* * raise ValueError('Our device is not connected')* I get this: *"No Backend Available"* Which, as far as I can tell, seems to mean the import of usb.core succeeded, but usb.core is then not finding libusb and throwing up its hands. So apparently I've missed something critical, but otherwise undocumented / ungooglable (I really, really tried. I am so sorry if this is obvious. :( Revisions: *OSX 10.6.8* *Python 2.6* *libusb 1.0(some beta nomenclature -- current version)* *PyUSB 1.0* Can anyone shine a light here? I'm drowning in my own ignorance. Just one thing: I don't want to install macports or similar, because the *last* time I did that, the package I used did me the "favor" of updating Python, which promptly broke my stuff pretty thoroughly and required me to reinstall the OS to fix the many problems. So the hope/idea is compile and install libusb, then install PyUSB (thought I was there, sigh), and then... somehow.... make it work. --Ben
------------------------------------------------------------------------------
_______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users