Hi,
I am trying to install matplotlib on sage with the OSX backend so I can get
interactive plots. Using
sage -pip install -U matplotlib
fails with the error:
building 'matplotlib.backends._macosx' extension
gcc -fno-strict-aliasing
-I/Applications/SageMath/local/var/tmp/sage/build/python2-2.7.13.p1/include
-DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I/usr/local/include
-I/usr/include -I/usr/X11/include -I/opt/X11/include -I.
-I/Applications/SageMath/local/include/python2.7 -c src/_macosx.m -o
build/temp.macosx-10.9-x86_64-2.7/src/_macosx.o
gcc: error: src/_macosx.m: Objective-C compiler not installed on this
system
error: command 'gcc' failed with exit status 1
I suspect that this is due to using gcc rather than clang to compile
matplotlib. Setting CC=clang doesn't fix the issue, however, and I am
unsure of how to build using clang. Does anyone know of a work around?
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.