Python 2.7.6 Pip 1.3.1 OSX Mavericks clang 5.1

I tried installing python requirements with

sudo pip install -r external/common/requirements.txt

Then I got this error:

building 'PIL._imaging' extension

cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386
-g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd
-DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes
-Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes
-DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DHAVE_LIBZ
-I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers
-I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers
-I/private/tmp/pip-build-root/pillow/libImaging
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include
-I/opt/local/include -I/usr/local/include -I/usr/include
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c _imaging.c -o build/temp.macosx-10.9-intel-2.7/_imaging.o

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

Then I tried to downgrade the ARCHFLAGS environment variable to a warning
by typing this in terminal:

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
sudo pip install -r external/common/requirements.txt

Unfortunately, that didn't work. I've been googling around trying to find a
solution to this problem. What's the best way to solve this?
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to