[sage-support] Re: Cannot build 9.7 on Debian Sid
On Friday, January 13, 2023 at 12:33:16 PM UTC-5 John H Palmieri wrote: It may be (as pointed out on a similar thread in the group sage-devel) that some of the Debian packages have versions that are too new to be used with Sage. You could tell Sage to build its own Python, its own Gap, perhaps its own Singular (if the system one is causing problems): ./configure --with-system-python3=no --with-system-gap=no --with-system-singular=no Yes, that worked! Thanks! -- 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 sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/8950461d-dee0-448a-990d-0937995edb53n%40googlegroups.com.
[sage-support] Re: Cannot build 9.7 on Debian Sid
It may be (as pointed out on a similar thread in the group sage-devel) that some of the Debian packages have versions that are too new to be used with Sage. You could tell Sage to build its own Python, its own Gap, perhaps its own Singular (if the system one is causing problems): ./configure --with-system-python3=no --with-system-gap=no --with-system-singular=no On Friday, January 13, 2023 at 6:54:37 AM UTC-8 Luis Finotti wrote: > After some more updated came to Sid, I tried again. Still does not > compile, but breaks much sooner. Here is the new log: > https://web.math.utk.edu/~finotti/tmp/install-2.log > > Sid's own packaged version of Sage also cannot be installed at the moment: > > # apt install sagemath > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > python3-sage : Depends: python3 (< 3.11) but 3.11.1-1 is to be installed >Depends: libgap7 (>= 4.11.0-1) but it is not installable > E: Unable to correct problems, you have held broken packages. > > Any help would be greatly appreciated. > > -- 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 sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/1b2e26e6-d41e-457b-800d-82d7d3201d5fn%40googlegroups.com.
Re: [sage-support] solve solution is this a bug?
On Fri, Jan 13, 2023 at 3:01 PM Emmanuel Charpentier wrote: > > In Google Groups, I can’t see the screenshot nor the notebook, but this is a > FAQ, so I risk an answer : > > solve, used without algorithm= uses Maxima’s solver. The latter may introduce > new variables to denote unknown, arbitrary, quantities : “zxxx” denote > integer arbitrary constants, “rxxx” denoting real or complex arbitrary > constants. But… > > … the Sage interface to Maxima doesn’t catch them and does not define them in > Sage. You have to catch them and declare them yourself. A quick and crude way > to catch undefined variables in an expression E is [u for u in E.variables() > if str(u) not in globals()] ; declaring them may use var(str(u)). yes, that's what I was going to say, too, after trying to run this notebook. And indeed, "z1649" ( a different run might produce a differently named "z..." variable) is a variable representing an arbitrary integer. If you want to pick a particular value of it, say, 42, it can be done as follows: sol[0][t02](z1649=42) (and you should get 85/2*pi) HTH Dima > > HTH, > > Le jeudi 12 janvier 2023 à 21:40:48 UTC+1, brad...@ntlworld.com a écrit : >> >> My mistake, here is the screenshot >> >> On Thursday, January 12, 2023 at 8:14:20 PM UTC dim...@gmail.com wrote: >>> >>> On Thu, Jan 12, 2023 at 8:00 PM 'Charles Bradshaw' via sage-support >>> wrote: >>> > >>> > In the attached screenshot line 'out [113]' and 'out [98]' please observe >>> > 2*pi*z5484 >>> > the attempt to evaluate: line [114] produces the error x5484 is not >>> > defined >>> >>> there is no attachment. >>> >>> >>> > >>> > is this a bug or did I not understand something? >>> > >>> > I am running Fedora 37 with the dnf installed >>> > SageMath version 9.6, Release Date: 2022-05-15 >>> > Using Python 3.11.1. >>> > >>> > Thanks >>> > >>> > -- >>> > 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 sage-support...@googlegroups.com. >>> > To view this discussion on the web visit >>> > https://groups.google.com/d/msgid/sage-support/e870bef7-68db-49a5-b45a-5508c039caf3n%40googlegroups.com. > > -- > 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 sage-support+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/283777a5-40f2-4b95-ad85-f28ad3315d21n%40googlegroups.com. -- 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 sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq2Zw4nO0iv5eV4_X2njN7qgLqLb0dyLrC-oWKcS1RjU2w%40mail.gmail.com.
Re: [sage-support] solve solution is this a bug?
On Fri, Jan 13, 2023 at 2:27 PM 'Charles Bradshaw' via sage-support wrote: > > More info: > If I run my notebook code on https://sagecell.sagemath.org/ is see a huge > page of errors begining: sagecell does not take ipython notebooks, sorry, not a bug. > > /home/sc_serv/sage/src/sage/calculus/calculus.py:2509: DeprecationWarning: > Importing union from here is deprecated; please use "from sage.misc.misc > import union" instead. See https://trac.sagemath.org/32096 for details. f = > SR(sage.all.__dict__[name]) > ... > > I say again is this a bug or what? > On Friday, January 13, 2023 at 10:39:48 AM UTC Charles Bradshaw wrote: >> >> OK One more time. I finally figured out how to attach the the notebook. I >> hope it's in the right format. >> In the process of playing with the probllem I have re-numbered the lines. >> >> The pi*z1649 term now appears in line 5, 7 and 8 >> >> Where did the z come from?? >> >> Thanks for your patience. >> >> On Thursday, January 12, 2023 at 10:47:26 PM UTC dim...@gmail.com wrote: >>> >>> the screenshot does not show lines 113 and 98 you refer to. >>> It might be better to send the notebook than the screenshot. >>> >>> On Thu, Jan 12, 2023 at 8:40 PM 'Charles Bradshaw' via sage-support >>> wrote: >>> > >>> > My mistake, here is the screenshot >>> > >>> > On Thursday, January 12, 2023 at 8:14:20 PM UTC dim...@gmail.com wrote: >>> >> >>> >> On Thu, Jan 12, 2023 at 8:00 PM 'Charles Bradshaw' via sage-support >>> >> wrote: >>> >> > >>> >> > In the attached screenshot line 'out [113]' and 'out [98]' please >>> >> > observe 2*pi*z5484 >>> >> > the attempt to evaluate: line [114] produces the error x5484 is not >>> >> > defined >>> >> >>> >> there is no attachment. >>> >> >>> >> >>> >> > >>> >> > is this a bug or did I not understand something? >>> >> > >>> >> > I am running Fedora 37 with the dnf installed >>> >> > SageMath version 9.6, Release Date: 2022-05-15 >>> >> > Using Python 3.11.1. >>> >> > >>> >> > Thanks >>> >> > >>> >> > -- >>> >> > 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 sage-support...@googlegroups.com. >>> >> > To view this discussion on the web visit >>> >> > https://groups.google.com/d/msgid/sage-support/e870bef7-68db-49a5-b45a-5508c039caf3n%40googlegroups.com. >>> > >>> > -- >>> > 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 sage-support...@googlegroups.com. >>> > To view this discussion on the web visit >>> > https://groups.google.com/d/msgid/sage-support/24aabd61-0475-4a2e-bcd9-ae577f0931ecn%40googlegroups.com. > > -- > 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 sage-support+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/83fdd5b4-f45a-4e5a-b0de-3b88c9567eb2n%40googlegroups.com. -- 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 sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq1GnP5nNrHO%3Dp%2Be07rCBcisdbJp4Ngw1GNcm34uxMe%2BVA%40mail.gmail.com.
Re: [sage-support] solve solution is this a bug?
In Google Groups, I can’t see the screenshot nor the notebook, but this is a FAQ, so I risk an answer : solve, used without algorithm= uses Maxima’s solver. The latter may introduce new variables to denote unknown, arbitrary, quantities : “zxxx” denote integer arbitrary constants, “rxxx” denoting real or complex arbitrary constants. But… … the Sage interface to Maxima doesn’t catch them and does not define them in Sage. You have to catch them and declare them yourself. A quick and crude way to catch undefined variables in an expression E is [u for u in E.variables() if str(u) not in globals()] ; declaring them may use var(str(u)). HTH, Le jeudi 12 janvier 2023 à 21:40:48 UTC+1, brad...@ntlworld.com a écrit : > My mistake, here is the screenshot > > On Thursday, January 12, 2023 at 8:14:20 PM UTC dim...@gmail.com wrote: > >> On Thu, Jan 12, 2023 at 8:00 PM 'Charles Bradshaw' via sage-support >> wrote: >> > >> > In the attached screenshot line 'out [113]' and 'out [98]' please >> observe 2*pi*z5484 >> > the attempt to evaluate: line [114] produces the error x5484 is not >> defined >> >> there is no attachment. >> >> >> > >> > is this a bug or did I not understand something? >> > >> > I am running Fedora 37 with the dnf installed >> > SageMath version 9.6, Release Date: 2022-05-15 >> > Using Python 3.11.1. >> > >> > Thanks >> > >> > -- >> > 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 sage-support...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-support/e870bef7-68db-49a5-b45a-5508c039caf3n%40googlegroups.com. >> >> >> > -- 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 sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/283777a5-40f2-4b95-ad85-f28ad3315d21n%40googlegroups.com.
[sage-support] Re: Cannot build 9.7 on Debian Sid
After some more updated came to Sid, I tried again. Still does not compile, but breaks much sooner. Here is the new log: https://web.math.utk.edu/~finotti/tmp/install-2.log Sid's own packaged version of Sage also cannot be installed at the moment: # apt install sagemath Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: python3-sage : Depends: python3 (< 3.11) but 3.11.1-1 is to be installed Depends: libgap7 (>= 4.11.0-1) but it is not installable E: Unable to correct problems, you have held broken packages. Any help would be greatly appreciated. -- 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 sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/9217c7b4-92a0-4b10-a2b9-88f90447924en%40googlegroups.com.
Re: [sage-support] solve solution is this a bug?
More info: If I run my notebook code on https://sagecell.sagemath.org/ is see a huge page of errors begining: /home/sc_serv/sage/src/sage/calculus/calculus.py:2509: DeprecationWarning: Importing union from here is deprecated; please use "from sage.misc.misc import union" instead. See https://trac.sagemath.org/32096 for details. f = SR(sage.all.__dict__[name]) ... I say again is this a bug or what? On Friday, January 13, 2023 at 10:39:48 AM UTC Charles Bradshaw wrote: > OK One more time. I finally figured out how to attach the the notebook. I > hope it's in the right format. > In the process of playing with the probllem I have re-numbered the lines. > > The pi*z1649 term now appears in line 5, 7 and 8 > > Where did the z come from?? > > Thanks for your patience. > > On Thursday, January 12, 2023 at 10:47:26 PM UTC dim...@gmail.com wrote: > >> the screenshot does not show lines 113 and 98 you refer to. >> It might be better to send the notebook than the screenshot. >> >> On Thu, Jan 12, 2023 at 8:40 PM 'Charles Bradshaw' via sage-support >> wrote: >> > >> > My mistake, here is the screenshot >> > >> > On Thursday, January 12, 2023 at 8:14:20 PM UTC dim...@gmail.com >> wrote: >> >> >> >> On Thu, Jan 12, 2023 at 8:00 PM 'Charles Bradshaw' via sage-support >> >> wrote: >> >> > >> >> > In the attached screenshot line 'out [113]' and 'out [98]' please >> observe 2*pi*z5484 >> >> > the attempt to evaluate: line [114] produces the error x5484 is not >> defined >> >> >> >> there is no attachment. >> >> >> >> >> >> > >> >> > is this a bug or did I not understand something? >> >> > >> >> > I am running Fedora 37 with the dnf installed >> >> > SageMath version 9.6, Release Date: 2022-05-15 >> >> > Using Python 3.11.1. >> >> > >> >> > Thanks >> >> > >> >> > -- >> >> > 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 sage-support...@googlegroups.com. >> >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-support/e870bef7-68db-49a5-b45a-5508c039caf3n%40googlegroups.com. >> >> >> > >> > -- >> > 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 sage-support...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-support/24aabd61-0475-4a2e-bcd9-ae577f0931ecn%40googlegroups.com. >> >> >> > -- 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 sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/83fdd5b4-f45a-4e5a-b0de-3b88c9567eb2n%40googlegroups.com.
Re: [sage-support] solve solution is this a bug?
OK One more time. I finally figured out how to attach the the notebook. I hope it's in the right format. In the process of playing with the probllem I have re-numbered the lines. The pi*z1649 term now appears in line 5, 7 and 8 Where did the z come from?? Thanks for your patience. On Thursday, January 12, 2023 at 10:47:26 PM UTC dim...@gmail.com wrote: > the screenshot does not show lines 113 and 98 you refer to. > It might be better to send the notebook than the screenshot. > > On Thu, Jan 12, 2023 at 8:40 PM 'Charles Bradshaw' via sage-support > wrote: > > > > My mistake, here is the screenshot > > > > On Thursday, January 12, 2023 at 8:14:20 PM UTC dim...@gmail.com wrote: > >> > >> On Thu, Jan 12, 2023 at 8:00 PM 'Charles Bradshaw' via sage-support > >> wrote: > >> > > >> > In the attached screenshot line 'out [113]' and 'out [98]' please > observe 2*pi*z5484 > >> > the attempt to evaluate: line [114] produces the error x5484 is not > defined > >> > >> there is no attachment. > >> > >> > >> > > >> > is this a bug or did I not understand something? > >> > > >> > I am running Fedora 37 with the dnf installed > >> > SageMath version 9.6, Release Date: 2022-05-15 > >> > Using Python 3.11.1. > >> > > >> > Thanks > >> > > >> > -- > >> > 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 sage-support...@googlegroups.com. > >> > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/e870bef7-68db-49a5-b45a-5508c039caf3n%40googlegroups.com > . > > > > -- > > 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 sage-support...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/24aabd61-0475-4a2e-bcd9-ae577f0931ecn%40googlegroups.com > . > -- 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 sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/67ea7ab7-7b4d-49ee-87ee-3e098858e68bn%40googlegroups.com. test-1.ipynb Description: Binary data