I was just reading your other email to the list about this. I don't
know the solution, but I do know that you didn't export the ARCHFLAGS
var properly:
export
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
sudo pip install -r external/common/requirements.txt
If you don't use the "export" keyword in the shell, the env var will
not be available to other scripts and programs.
Not sure if that will help, though.
---------
Matt Taylor
OS Community Flag-Bearer
Numenta
On Tue, May 27, 2014 at 2:02 PM, Mika Schiller <[email protected]> wrote:
> 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
>
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org