[Pythonmac-SIG] using the "PyUSB" module

Rekow Warren warren_rekow at speedyquick.net
Tue Apr 7 05:07:28 CEST 2009


Chris and Kevin, thanks for the feedback.
I did this...

DualG4-2:~ rekow$ python /Applications/pyusb-0.4.1/setup.py install

...and got this result...

running install
running build
running build_ext
building 'usb' extension
Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ 
MacOSX10.4u.sdk
Please check your Xcode installation
...

Under /Developer/SDKs/ there is no "MacOSX10.4u.sdk", but there is a  
"MacOSX10.4.0.sdk" folder.
Have any idea how to fix this?
Warren


On Apr 3, 2009, at 11:24 AM, Christopher Barker wrote:

Chris Rebert wrote:
> On Thu, Apr 2, 2009 at 5:36 PM, Rekow Warren
> <warren_rekow at speedyquick.net> wrote:
>> I am a new MacPython (ver 2.6.1) user who has downloaded the  
>> "PyUSB" module,
>> but am unclear about how to make it available for use in a  
>> program. Included
>> among the downloaded files is 'setup.py' (and 'setup.pyc'). Running

> You have to give setup.py a command argument; it cannot be run without
> any arguments. That command should give you a list and explanation
> from which you can figure out which command you want.

Chances are, it is:

$ python setup.py install

-Chris



More information about the Pythonmac-SIG mailing list