Install pyUSB 0.4.3 on OSX Lion 10.7.3

后端 未结 2 1114
感动是毒
感动是毒 2021-01-07 08:25

I\'m trying to install pyusb 0.4.3 on Mac OS X Lion 10.7.3 running Xcode 4.3 (the new Mac App Store .app with command line tools installed). When I try to \"python setup.py

2条回答
  •  长发绾君心
    2021-01-07 09:06

    It looks like you don't have libusb installed.

    Try here: http://www.anyma.ch/blogs/research/2011/08/13/libusb-for-macosx-lion-10-7/

    And read the comments, there's an update in that section.

    BTW,

    Have you tried using:

    sudo easy_install pyusb
    

    or:

    sudo pip install pyusb
    

    easy_install comes with Lion, but not pip, you can install it:

    sudo easy_install pip
    

提交回复
热议问题