[sage-support] Re: Sage 9.1 dependency problem

2020-07-28 Thread Matthias Koeppe
You could deactivate conda and try again. On Tuesday, July 28, 2020 at 8:33:38 PM UTC-7, Luis Enriquez-Contreras wrote: > > OS: Linux Mint 20 > > SageMath: sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 > > Hello all, I am trying to install sage 9.1, but I get this error after the > ./configure >

[sage-support] Sage 9.1 dependency problem

2020-07-28 Thread Luis Enriquez-Contreras
OS: Linux Mint 20 SageMath: sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 Hello all, I am trying to install sage 9.1, but I get this error after the ./configure configure: notice: the following SPKGs did not find equivalent system packages: boost cbc freetype gp2c isl libsemigroups pari_elldata

[sage-support] Re: cancel the content of one variable

2020-07-28 Thread kcrisman
On Monday, July 27, 2020 at 2:36:32 PM UTC-4, Bert Henry wrote: > > I declared some variables with assume > > e. g. > > assume(r, 'real') > assume(k, 'integer') > assume(j >0) > > and so on. > > During my calculation I need (in one step) j=15 > > How can I delete the number 15 for j? I tried it

Re: [sage-support] make command Error 127

2020-07-28 Thread Dima Pasechnik
On Tue, 28 Jul 2020, 08:25 Karima Shahzad, wrote: > > http://mirror.hust.edu.cn/sagemath/linux/64bit/sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 > this is not a source distribution, this is a binary distribution for Ubuntu 18.04. Source distributions are here:

Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Karima Shahzad
Thank you, but the issue is solved using different command On Tue, Jul 28, 2020 at 2:27 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > One solution is to map the expression into > polynomial expressions with variable 'a' and > 'r' over the floating point numbers > > sage: a,r =

Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Bert Henry
Am Dienstag, 28. Juli 2020 10:17:20 UTC+2 schrieb Karima Shahzad: > > I am sorry, what is it? > > > On Tue, Jul 28, 2020 at 11:12 AM Bert Henry > wrote: > >> Sorry for writing uncomplete formula. Here it is better >> >> (sqrt(2)*a-2*r)/(2+2*sqrt(2)) >> >> Thanks >> Bert >> >> -- You received

Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Vincent Delecroix
One solution is to map the expression into polynomial expressions with variable 'a' and 'r' over the floating point numbers sage: a,r = SR.var('a,r'); sage: expr = ((sqrt(2)*a-2*r)/(2+2*sqrt(2))) sage: RDF['a,r'](expr) 0.2928932188134525*a - 0.4142135623730951*r (this is not very robust as it

Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Bert Henry
Am Dienstag, 28. Juli 2020 11:13:49 UTC+2 schrieb JJS137: > > Have you tried canonicalize_radical() ? > Cheers, > John > > Yes, but it doesn't solve the problem -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group

Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Karima Shahzad
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 The above command solved my problem, and I installed Sage successfully, Thanks to your support team and special thanks to Dima Pasechnik. On Tue, Jul 28, 2020 at 2:13 PM John Spitzer wrote: > Have you tried

Re: [sage-support] Re: numerical simplification

2020-07-28 Thread John Spitzer
Have you tried canonicalize_radical() ? Cheers, John On Tue, 28 Jul 2020 at 18:17, Karima Shahzad wrote: > I am sorry, what is it? > > > On Tue, Jul 28, 2020 at 11:12 AM Bert Henry wrote: > >> Sorry for writing uncomplete formula. Here it is better >> >> (sqrt(2)*a-2*r)/(2+2*sqrt(2)) >> >>

Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Karima Shahzad
I am sorry, what is it? On Tue, Jul 28, 2020 at 11:12 AM Bert Henry wrote: > Sorry for writing uncomplete formula. Here it is better > > (sqrt(2)*a-2*r)/(2+2*sqrt(2)) > > Thanks > Bert > > Am Montag, 27. Juli 2020 20:28:14 UTC+2 schrieb Bert Henry: >> >> How can I get from >> >> 2(2​+1)2​a−a​

Re: [sage-support] make command Error 127

2020-07-28 Thread Karima Shahzad
Sir, great it worked, thank you so much for the support On Tue, Jul 28, 2020 at 12:02 PM Dima Pasechnik wrote: > > > On Tue, 28 Jul 2020, 07:13 Karima Shahzad, > wrote: > >> Hello, >> I am Installing SageMath from the source code on my Ubuntu20.04. I had >> installed it successfully but, due

Re: [sage-support] make command Error 127

2020-07-28 Thread Karima Shahzad
Thank you for the prompt response. The same has been suggested to me, may you explicitly tell me that how to create a bin directory and a soft link to my path, n this case sage-9.1. Thank you On Tue, Jul 28, 2020 at 11:37 AM Jose Garcia wrote: > I had a similar problem. Python3 should be in

Re: [sage-support] make command Error 127

2020-07-28 Thread Karima Shahzad
http://mirror.hust.edu.cn/sagemath/linux/64bit/sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 This is the tar file and yes from the binary source I am downloading. I am not clear where to use the above command you have suggested. Does it matter if I choose any source nearer to me? I have chosen Asia. May

Re: [sage-support] make command Error 127

2020-07-28 Thread Dima Pasechnik
On Tue, 28 Jul 2020, 07:13 Karima Shahzad, wrote: > Hello, > I am Installing SageMath from the source code on my Ubuntu20.04. I had > installed it successfully but, due to some issues in my system, I > reinstalled Ubuntu, and now following the same step for sage installation I > get an Error in

Re: [sage-support] make command Error 127

2020-07-28 Thread Jose Garcia
I had a similar problem. Python3 should be in your path. A workaround I did was to create a soft link named ‘python’ that points to your python3 (put it in a directory that’s already in your path). Although I’m not 100% sure where the ideal place to put this soft link is. Maybe someone else has

[sage-support] make command Error 127

2020-07-28 Thread Karima Shahzad
Hello, I am Installing SageMath from the source code on my Ubuntu20.04. I had installed it successfully but, due to some issues in my system, I reinstalled Ubuntu, and now following the same step for sage installation I get an Error in the Installation of 'tar.bz2' file. I give the 'make -j4'

[sage-support] Re: numerical simplification

2020-07-28 Thread Bert Henry
Sorry for writing uncomplete formula. Here it is better (sqrt(2)*a-2*r)/(2+2*sqrt(2)) Thanks Bert Am Montag, 27. Juli 2020 20:28:14 UTC+2 schrieb Bert Henry: > > How can I get from > > 2(2​+1)2​a−a​ > > > the numerical term > > 0.2929a - 0.4142r > > Thanks in advance > Bert > -- You received