> I am trying to get pyusb working on OSX 10.8 with Python 2.7 (my goal is
> to be able to communicate with a novation nocturn using python, see
> https://github.com/dewert/nocturn-linux-midi which relies on pyusb.)
>
> I installed libusb 1.0 through macports

Good news is that libusb / pyusb / OSX 10.8 work perfectly together -
I've been using this configuration for about a year.
I'm using Homebrew rather than MacPort.

Did you try to define DYLD_LIBRARY_PATH or DYLD_FALLBACK_LIBRARY_PATH
to point to the actual libusb path ?
(Using these env. vars on OS X 10.8 is quite boring since you get a
warning with any sudo request, but it might help)

for ex:

$> ls -l /usr/local/homebrew/lib/*usb*dylib
lrwxr-xr-x  1 eblot  wheel  45 25 Aug  2012
/usr/local/homebrew/lib/libusb-1.0.0.dylib ->
../Cellar/libusb/1.0.9/lib/libusb-1.0.0.dylib
lrwxr-xr-x  1 eblot  wheel  43 25 Aug  2012
/usr/local/homebrew/lib/libusb-1.0.dylib ->
../Cellar/libusb/1.0.9/lib/libusb-1.0.dylib

$> echo $DYLD_FALLBACK_LIBRARY_PATH
/usr/local/homebrew/lib:

HTH,
Manu

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to