[sage-support] Re: Sage cannot find gcc on OS X

2017-01-10 Thread Michael Frey
Thank you for the quick reply. I have xCode installed. gcc is located at /Applications /Xcode.app/Contents/Developer/usr/bin/. There about 50 versions of limits.h. Which one is sage looking for? Mike On Tuesday, January 10, 2017 at 12:12:18 AM UTC-5, Michael Frey wrote: > > I am r

[sage-support] Sage on Mac OS X Latex Error

2017-01-09 Thread Michael Frey
I am trying to generate a plot in sage with matplotlib. When I execute a safefig I get an error: RuntimeError: LaTeX was not able to process the following string: 'lp' Here is the full report generated by LaTeX: Hopefully there is an easy fix for this. The code works on Centos. Mike Code: d

[sage-support] Sage cannot find gcc on OS X

2017-01-09 Thread Michael Frey
I am running the Sage app on OS X. My code makes a call to cython. When I execute the code I get an error: gcc -fno-strict-aliasing -I/Users/buildslave-sage/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma/local/var/tmp/sage/build/python2-2.7.10.p3/include -DNDEBU

[sage-support] Error when attaching file, NameError: name 'cython' is not defined

2017-01-09 Thread Michael Frey
I am trying to attach a code file to a sage notebook. The call is : attach ("~/.sage/MHF_Bloch_n_Plot.sage"). The error I get is "NameError: name 'cython' is not defined". The code in the attach file is: ... cython(""" #Parallel Cython, Numpy calls -- 3 part3 #Part 1 #Cython version for p