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

2017-01-09 Thread Volker Braun
You need xcode for various system headers. On Tuesday, January 10, 2017 at 6:12:18 AM UTC+1, Michael Frey wrote: > > 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 >

[sage-support] Re: question about sage installed from PPA

2017-01-09 Thread Jan Groenewald
Hi Gabriel On 10 January 2017 at 02:07, gabriel minian wrote: > Dear Jan, > > I am using Kubuntu 16.10 (64 bits) and I have recently installed the Sage > package from PPA. > It works fine but when I try to install the GAP SmallGroups Library (using > "sage -i

[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:

[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

[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

Re: [sage-support] sage math 7.4 binary error

2017-01-09 Thread Jan Groenewald
Hi This is fixed but not in a stable release, use 7.3 or compile from source. Regards, Jan On 9 January 2017 at 15:18, malresser wrote: > /home/muhammet/D/program_files/SageMath/local/lib/ > libpython2.7.so.1.0(PyRun_FileExFlags+0x92)[0x7f9c7df7d732] >

[sage-support] sage math 7.4 binary error

2017-01-09 Thread malresser
/home/muhammet/D/program_files/SageMath/local/lib/libpython2.7.so.1.0(PyRun_FileExFlags+0x92)[0x7f9c7df7d732] /home/muhammet/D/program_files/SageMath/local/lib/libpython2.7.so.1.0(PyRun_SimpleFileExFlags+0xd9)[0x7f9c7df7ec79]

[sage-support] Re: embedding of number field element encapseled in symbolic ring

2017-01-09 Thread Marc Mezzarobba
Nils Bruin wrote: > If a field embeds into QQbar, then there should be an implied coercion > into CC, though: QQbar as implemented in sage is a subfield of the > field of complex numbers (as you can see from how the elements print). Let me add that there are long-standing tickets (#5355, #12715)