This repository was archived by the owner on Jun 19, 2025. It is now read-only.
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
Python 3.3 on Mac OSX means we need a compiler #14
Open
Description
When installing flask it fails when trying to compile markupsafe in the python3.3 environment on a mac without a c-compiler. It works fine with the python2.7 version though.
Sophies choice: Shall we change the python version in the tutorial to 2.7 for mac or do we have to require to have xcode installed?
Activity
meehow commentedon Aug 27, 2013
On Ubuntu LTS python 2.7 is installed by default as well.
Ivoz commentedon Aug 27, 2013
Could you copy the output of pip?
From what I can see it should try to build, fail, and then run the setup normally without compilation speedups.
https://github.com/mitsuhiko/markupsafe/blob/master/setup.py#L119-L122
I definitely agree we shouldn't be asking os x users to install xcode just for this, but as far as I can see the C compilation for that package should be optional, not mandatory.