[Pythonmac-SIG] using the "PyUSB" module
Ronald Oussoren
ronaldoussoren at mac.com
Tue Apr 7 10:59:09 CEST 2009
On 7 Apr, 2009, at 5:07, Rekow Warren wrote:
> 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?
Which version of OSX are you running? MacOSX10.4u.sdk is a component
of the developer tools, as Chris noted. You may have to download a
newer version of Xcode from developer.apple.com when you're running
OSX 10.4, the version of Xcode that's included with OSX 10.5 ships
with the 10.4u SDK.
Ronald
Ronald
> 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
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090407/64ae2133/attachment-0001.bin>
More information about the Pythonmac-SIG
mailing list