Use pip install or easy_install to install various Python packages. cc failed with exit status 1, pipeasy_install
Problems encountered
If you encounter a problem when installing various packages of Python using pip install or easy_install on Mac, you should see this article to solve the problem.
Previously, python frameworks and packages were directly installed and used on vps. I didn't expect this problem to occur during Mac installation. The first thing I thought was to see if anyone on Baidu had the same problem, the results were disappointing. Although there is no useful answer to this question, you can only turn to Google.
Solution
First, installDeveloper toolsI forgot this one at the time. InstallDeveloper toolsIt is very simple. You only needTerminalEnter the following command.
xcode-select --install
If the following error is still reported, it is a problem with the OSX's own mechanism. (I didn't take a closer look at the mechanism. If you want to know what it is, Google it yourself ), here, you just need to enter two lines to shut up what it doesn't understand.
export CFLAGS=-Qunused-argumentsexport CPPFLAGS=-Qunused-arguments
If the problem persists, I won't be able to help.