On a Mac, encountering clang: error: unknown argument: '-mno-fused-madd' → Use ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
mac
2014-04-27 09:53 (12 years ago)

$ pip install reportlab
After running this command
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
I encountered this error.
It seems to occur during the installation of a dependency package (pillow?).
Fix 'clang: unknown argument' error after updating to Xcode 5.1
http://kaspermunck.github.io/2014/03/fixing-clang-error/
Referring to this page
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install reportlab
Please rate this article (No signup or login required)
Currently unrated
Related posts
Trying to Install npm install fibers (node-fibers) Results in ValueError: invalid mode: 'rU' While Trying to Load binding.gyp
mkmf.rb can't find header files for ruby (Error while trying to install i2cssh)
What to Do When You Can't Update PIP for Python 2.7 in the Default Mac Environment
Add Environment Variables When You Encounter the Error "pip install pillow → error: command 'cc' failed with exit status 1"
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.
We look forward to discussing your development needs.