Install pyUSB 0.4.3 on OS X Lion

Asked by Arman S

I'm trying to install pyusb 4.0.3 on mac os x lion 10.7.3 running xcode 4.3.
When I try to "python setup.py install" I get this long list of error ending with "error: command 'llvm-gcc-4.2' failed with exit status 1":
http://pastebin.com/R8id7Qf7

pyUSB 1.0 compiles fine but I couldn't get it to work with nfcpy (as documented in the faq).

Any ideas?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
nfcpy Edit question
Assignee:
No assignee Edit question
Solved by:
Arman S
Solved:
Last query:
Last reply:
Revision history for this message
Arman S (arman-uv) said :
#1

nevermind,
turned out I had the wrong version of libusb installed.
For future reference, only libusb 0.x or libusb-compat 1.x are compatible with pyUSB 0.4.3.
libusb 1.x is NOT compatible.