Problems encountered
If you encounter title problems with Pip Install or easy_install to install Python's various package on your Mac, seeing this essay should solve the problem.
Before are directly installed on the VPS using the Python framework and package, did not expect to install the Mac on the time of this trouble, the first thought is to see if anyone on Baidu has the same problem, the result is very disappointed. Although there is no useful answer to this question, only Google can be resorted to.
How to Solve
First you need to install developer Tools, and I forgot about that. Installing Developer Tools is simple, just enter the following commands in terminal .
xcode-select --install
If the following is still an error is the problem of OSX's own mechanism (what is the mechanism I did not look carefully, want to know the Google bar), here just enter two lines of command let it do not understand the things to shut up on the line.
export CFLAGS=-Qunused-argumentsexport CPPFLAGS=-Qunused-arguments
I can't help it if it's not settled yet.
Various packages that use PIP Install or Easy_install to install Python appear cc failed with exit status 1