This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ned.deily, tarek
Date 2013-10-25.22:55:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On OS X 10.8 or 10.9 when using Xcode 5 and attempting to build an extension module using a universal Python that includes a PPC architecture (such as from one of the 32-bit-only installers), the extension module build can fail with numerous compiler errors.  Recent 32-bit-only installers attempt to remove unavailable PPC architectures when building extension modules.  Unfortunately, due to changes between Xcode 4 and Xcode 5, the test in Distutils does not work with Xcode 5 compilers.

The problem affects the current OS X 32-bit-only installers for Python 3.3.2 and 2.7.5.  It is not a problem for OS X 64-bit/32-bit installers for 10.6+.

A workaround for the problem is to override the Distutils defaults by setting the ARCHFLAGS environment variable to the desired architectures, for example:

ARCHFLAGS="-arch i386" /usr/local/bin/python2.7 -m pip install ...
Date User Action Args
2013-10-25 22:55:59ned.deilysetrecipients: + ned.deily, tarek
2013-10-25 22:55:59ned.deilysetmessageid: <>
2013-10-25 22:55:59ned.deilylinkissue19400 messages
2013-10-25 22:55:59ned.deilycreate