Re: [sage-support] Erro Cython compile

2016-02-21 Thread Jeroen Demeyer
On 2016-02-22 01:25, jmarcellopere...@ufpi.edu.br wrote: I use Netrunner Linux, Sagemath 6.9 How did you download and install Sage? It seems that you're missing gcc or that your gcc is improperly installed. Jeroen. -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] Re: Strange behavior with RealField(n)

2016-02-21 Thread Thierry Dumont
Le 21/02/2016 23:15, Nils Bruin a écrit : On Sunday, February 21, 2016 at 10:10:10 AM UTC-8, tdumont wrote: I have students who want to compute decimals of pi...so, what can we do with RealField(n) ? I make the following script (pi.sage): for p in [2

[sage-support] Erro Cython compile

2016-02-21 Thread jmarcellopereira
I use Netrunner Linux, Sagemath 6.9 and when type: load("/home/jmarcellopereira/fiboR_SG.spyx") in notebook, occurs: Compiling /home/jmarcellopereira/fiboR_SG.spyx... Traceback (most recent call last): File "", line 1, in File "_sage_input_21.py", line 10, in exec compile(u'open("___co

[sage-support] Re: Error building sage

2016-02-21 Thread Aaditya Thakkar
It's resolved, I again tried to 'make' and this did't showed any error. Sage is working now. On Monday, February 22, 2016 at 3:10:17 AM UTC+5:30, Volker Braun wrote: > > So whats the content of pygments-2.1.p0.log? > > On Sunday, February 21, 2016 at 9:58:05 PM UTC+1, Aaditya Thakkar wrote: >> >

[sage-support] Re: Strange behavior with RealField(n)

2016-02-21 Thread Nils Bruin
On Sunday, February 21, 2016 at 10:10:10 AM UTC-8, tdumont wrote: > > I have students who want to compute decimals of pi...so, what can we do > with RealField(n) ? > I make the following script (pi.sage): > > > for p in [2..10]: > R=RealField(10^p) > pii=4*a

Re: [sage-support] Strange behavior with RealField(n)

2016-02-21 Thread Thierry Dumont
Le 21/02/2016 20:40, John Cremona a écrit : Try RealField(500).pi() and similar. Yes, it works... but my small piece of code should also give correct results... thanks. t. On 21 Feb 2016 18:10, "Thierry Dumont" mailto:tdum...@math.univ-lyon1.fr>> wrote: I have students who want to compu

[sage-support] Re: Error building sage

2016-02-21 Thread Volker Braun
So whats the content of pygments-2.1.p0.log? On Sunday, February 21, 2016 at 9:58:05 PM UTC+1, Aaditya Thakkar wrote: > > Hello, > I am getting this error in building sage. > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'ma

[sage-support] Error building sage

2016-02-21 Thread Aaditya Thakkar
Hello, I am getting this error in building sage. Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): * package: pygments-2.1.p0 log file: /home/aaditya/sage/logs/pkgs/pygments-2.1.p0.log build directory: /home/aaditya

[sage-support] Re: Zombie processes when using sage0 interface

2016-02-21 Thread Sho Takemori
I also experienced this. (I use SageMath 7.0 on Ubuntu 15.10) I guess this is not specific to sage0. The following code will spawn five zombie processes. [a.eval("1") for a in [gp, gap, maxima, sage0, singular]] By debugging with pdb, I found that something is wrong with "sage.interfaces.cleane

Re: [sage-support] Strange behavior with RealField(n)

2016-02-21 Thread John Cremona
Try RealField(500).pi() and similar. On 21 Feb 2016 18:10, "Thierry Dumont" wrote: > I have students who want to compute decimals of pi...so, what can we do > with RealField(n) ? > I make the following script (pi.sage): > > > for p in [2..10]: > R=RealField(10^p) >

[sage-support] Strange behavior with RealField(n)

2016-02-21 Thread Thierry Dumont
I have students who want to compute decimals of pi...so, what can we do with RealField(n) ? I make the following script (pi.sage): for p in [2..10]: R=RealField(10^p) pii=4*atan(R(1)) print p,R,pii Then, using sage 7.0 or 7.1.beta4: