$ sudo pip install pycrypto
报错
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os-pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall-Wstrict-prototypes -Wshorten-64-to-32-DNDEBUG -g -fwrapv -Os-Wall-Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1-DPSYCOPG_VERSION="2.5.2 (dt dec pq3 ext)"-DPG_VERSION_HEX=0x090303-DPSYCOPG_EXTENSIONS=1-DPSYCOPG_NEW_BOOLEAN=1-DHAVE_PQFREEMEM=1-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7-I.-I/usr/local/Cellar/postgresql/9.3.3/include -I/usr/local/Cellar/postgresql/9.3.3/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.9-intel-2.7/psycopg/psycopgmodule.o
clang: error: unknown argument:'-mno-fused-madd'[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning)in the future
error: command 'cc' failed with exit status 1
解决
export CFLAGS=-Qunused-arguments export CPPFLAGS=-Qunused-arguments
sudo -E pip install pycrypto
原网址
http://stackoverflow.com/questions/22313407/clang-error-unknown-argument-mno-fused-madd-python-package-installation-fa