OSX Maveriks compiler error installing pip package
Camilo Nova
CEO
If you get this error:
$ pip install lmxl
...
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
You can use this command to fix it (append to the beginning of the command):
$ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install lxml
Profit!
Written by Camilo Nova
As the Axiacore CEO, Camilo writes about the intersection of technology, design, and business. With a strategic mindset and a deep understanding of the industry, he is dedicated to helping companies grow.