OSX Maveriks compiler error installing pip package

CN Camilo Nova Camilo Nova

Camilo Nova

CEO
1 min read.


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

CN Camilo Nova 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.

Newsletter

Subscribe to our newsletter:

Read more

Atom editor for Debian

When Github announced that they made an editor and at the office and Pablo brought it for the first time in its invitation pe...

· 1 min read.

Simple jquery image lazy load

Sometimes you want to speed up the loading time of a web page, when you have a lot of images it can be useful to load them a...

· 1 min read.

Build Once. Own Forever.