Skip to content

Instantly share code, notes, and snippets.

@bdiegel
Created June 30, 2014 18:32
Show Gist options
  • Save bdiegel/a4e0d94dcede37d3c146 to your computer and use it in GitHub Desktop.
Save bdiegel/a4e0d94dcede37d3c146 to your computer and use it in GitHub Desktop.
rpy2 install error on OSX

rpy2 install error

Error installing on Mac OSX (Mavericks) using pip

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]

Tell clang not to raise these errors:

export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments

Use -E to pick up changes as the root user

sudo -E pip install rpy2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment