https://groups.google.com/d/forum/sage-supportsage-supportThis email list is for reporting possible bugs in Sage (<a href="http://www.sagemath.org">www.sagemath.org</a>) or to post a support-related issue.Google Groupsslelievre2021-05-05T13:55:18Zhttps://groups.google.com/d/topic/sage-support/Rsss8rg-uo8Re: Trouble understanding `sage -optional` answer{}".format(pkg, url)) > > This, I understand as the impossibility of reaching the repository of ore-package. > > "sage-optional" uses PyPI to determine available versions of pip packages (see > https://doc.sagemath.org/html/en/developer/packaging.html#package-source-types > for the definition). >Matthias Koeppe2021-05-04T17:04:10Zhttps://groups.google.com/d/topic/sage-support/Rsss8rg-uo8Re: Trouble understanding `sage -optional` answerOn Tuesday, May 4, 2021 at 7:00:55 AM UTC-7 Emmanuel Charpentier wrote: > Trying to list the installed optional packages, I innocently typed : > > charpent@zen-book-flip:~$ sage -optional | grep -v not_instal > > The answer left me stimyed : > > /usr/local/sage-9/local/lib/python3.9/site-packages/sEmmanuel Charpentier2021-05-04T14:00:55Zhttps://groups.google.com/d/topic/sage-support/Rsss8rg-uo8Trouble understanding `sage -optional` answerDear list Trying to list the installed optional packages, I innocently typed : charpent@zen-book-flip:~$ sage -optional | grep -v not_instal The answer left me stimyed : /usr/local/sage-9/local/lib/python3.9/site-packages/sage/misc/package.py:114: UserWarning: failed to fetch the version ofrickhg12hs2021-05-03T19:29:25Zhttps://groups.google.com/d/topic/sage-support/jo31g1YDTlkRe: RSA codeHow are you manually entering the `Ciphertext` for decryption? Ciphertext, cipher = ['㓔', '\U000107ee', '퇫', '뺸'] On Monday, May 3, 2021 at 10:10:58 AM UTC+2 samu....@gmail.com wrote: > ''' I have the RSA code, code works when we give input to encryption and > take decryption output (plaintextSamruddhi More2021-05-03T08:10:58Zhttps://groups.google.com/d/topic/sage-support/jo31g1YDTlkRSA code''' I have the RSA code, code works when we give input to encryption and take decryption output (plaintext and output are same), but when we encrypt plaintext separately and take its output and give it to decryption code as input separately, the output, is not the same as encryption inputslelievre2021-04-29T13:55:00Zhttps://groups.google.com/d/topic/sage-support/tRRJ-yEPLu4Re: [sage-support] NumberFieldEmbedding gets confused with relative number fieldsThis is now tracked at - Sage Trac ticket 31755 NumberFieldEmbedding does not work with relative number fields https://trac.sagemath.org/ticket/31755 Thanks for opening the ticket! Hope this gets solved soon!slelievre2021-04-28T15:04:13Zhttps://groups.google.com/d/topic/sage-support/tRRJ-yEPLu4Re: [sage-support] NumberFieldEmbedding gets confused with relative number fieldsbase field > > https://trac.sagemath.org/ticket/22008 > > This is indeed related: it also involves Sage mistaking the extension [L:K] > for the extension [L:QQ]. But it does not seem to be the exact same > problem: I am not sure that fixing ticket 17524 would automatically > fix the problemIlia2021-04-28T13:32:52Zhttps://groups.google.com/d/topic/sage-support/tRRJ-yEPLu4Re: [sage-support] NumberFieldEmbedding gets confused with relative number fieldsbase field > https://trac.sagemath.org/ticket/22008 This is indeed related: it also involves Sage mistaking the extension [L:K] for the extension [L:QQ]. But it does not seem to be the exact same problem: I am not sure that fixing ticket 17524 would automatically fix the problem I am describinvdelecroix2021-04-26T06:33:09Zhttps://groups.google.com/d/topic/sage-support/rv0Lq0XBj8sRe: [sage-support] Error while installing sageThis might have an answer here https://ask.sagemath.org/question/51555/ubuntu-1804-apt-install-modulenotfounderror-no-module-named-sage/ Le 25/04/2021 à 18:25, Sushovan Mondal a écrit : > Dear All, > > I am trying to install sage math on my laptop which has UBUNTU 18.04.5 LTS > as theslelievre2021-04-25T22:08:52Zhttps://groups.google.com/d/topic/sage-support/rv0Lq0XBj8sRe: Error while installing sageUbuntu 18.04 is from April 2018, and installing SageMath with "apt-get install" you get the version of SageMath packaged at the time: SageMath 8.1, released 2017-12. Sage has made tremendous progress since 8.1, including moving to Python 3 (instead of Python 2 which has now reached end of support).Sushovan Mondal2021-04-25T16:26:16Zhttps://groups.google.com/d/topic/sage-support/rv0Lq0XBj8sError while installing sageDear All, I am trying to install sage math on my laptop which has UBUNTU 18.04.5 LTS as the operating system. I have installed sage and now I want to run it. But I am getting the following results. mondals@smondal:~$ sudo apt-get install sagemath Reading package lists... Done Buildingvdelecroix2021-04-24T19:51:27Zhttps://groups.google.com/d/topic/sage-support/tRRJ-yEPLu4Re: [sage-support] NumberFieldEmbedding gets confused with relative number fieldsAt least on 9.3.rc4 it is fixed by using instead sage: K.<sqrt2> = QuadraticField(2, embedding=AA(2).sqrt()) sage: L.<s> = K.extension(x^3 + (sqrt2/2 + 1/3)*x^2 + (2*sqrt2/5+3/7)*x - 1) sage: phi0 = hom(L, QQbar, roots[0]) sage: phi1 = hom(L, QQbar, roots[1]) sage: phi2 = hom(L, QQbar,vdelecroix2021-04-24T19:45:41Zhttps://groups.google.com/d/topic/sage-support/tRRJ-yEPLu4Re: [sage-support] NumberFieldEmbedding gets confused with relative number fieldsHello Ilia, It is even more broken than that (on 9.3.rc4) sage: K.<sqrt2> = QuadraticField(2, embedding=1.414) sage: L.<s> = K.extension(x^3 + (sqrt2/2 + 1/3)*x^2 + (2*sqrt2/5+3/7)*x - 1) sage: roots = L.relative_polynomial().roots(QQbar, multiplicities=False) sage: from sage.rings.numbeslelievre2021-04-23T23:33:36Zhttps://groups.google.com/d/topic/sage-support/tRRJ-yEPLu4Re: NumberFieldEmbedding gets confused with relative number fieldssage: from sage.rings.number_field.number_field_morphisms import NumberFieldEmbedding sage: K.<sqrt2> = QuadraticField(2, embedding=1.414) sage: L.<s> = K.extension(x^3 + (sqrt2/2 + 1/3)*x^2 + (2*sqrt2/5+3/7)*x - 1) sage: my_embedding = NumberFieldEmbedding(L, QQbar, L.relative_polynomial().rootsSantanu2021-04-20T17:09:53Zhttps://groups.google.com/d/topic/sage-support/szFVHrntFp8Re: [sage-support] Size reduced of a basisHi Martin, Thank you so much for your kind help. It works! Kind regards, Santanu On Mon, 22 Mar 2021 at 19:49, 'Martin R. Albrecht' via sage-support < sage-s...@googlegroups.com> wrote: > Hi Santanu, > > With very high precision it goes through: > > #+begin_src jupyter-python :kernel