I get the following error when attempting to install psycopg2
via pip on Mavericks 10.9:
clang: error: unknown argument: \'-mno-fused-madd\' [-W
None of the above solutions worked for me. My situation is slightly different. I was trying to install rdiff-backup via homebrew when I got this error message.
I apparently have both Apple's default python (2.7.5 @ /usr/bin/python) and Homebrew's python (2.7.6 @ /usr/local/Cellar/python/2.7.6/bin/python), but the error was coming from Apple's python.
To fix the problem, basically I switched the python binaries.
I did this via sudo:
Then, 'brew install rdiff-backup' succeeded without any errors.
Finally, I did "mv /usr/bin/python_orig /usr/bin/python" to revert everything back.
I used homebrew python package. Works well after re-compilling.