Thanks for your suggestion on where to start! Unfortunately, no details:
$ ./sage --python
Python 3.11.1 (main, Mar 26 2023, 12:16:16) [GCC 9.3.1 20200408 (Red Hat
9.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sage.all import *
Dear Dima, thanks a lot! Indeed, one should have expected it like that ...
Anyway, maybe I'm not the only one who got stuck there, and the answer is
useful for others too.
-- Peter Mueller
Dima Pasechnik schrieb am Donnerstag, 30. März 2023 um 19:38:47 UTC+2:
>
>
> On Thu, 30 Mar 2023, 18:25
I am trying to convert "complex_root_of" expressions to algebraic numbers
(elements in the field QQbar). However, I get a "ValueError" with the
message "to many values to unpack".
A minimal example would be:
from sage.all import *
from sympy import sympify
exp1 = sympify("CRootOf(x**2 + 1,
I solved my problem, which was due to my misunderstanding of perl.
In case someone comes across this in the future, the perl module Net/Cmd.pm
is entirely different from the perl module IPC/Cmd.pm, as one can verify by
looking at the code. I had mistakenly assumed that different systems just
Thanks for your suggestion of where to start! Unfortunately, no details:
$ ./sage --python
Python 3.11.1 (main, Mar 26 2023, 12:16:16) [GCC 9.3.1 20200408 (Red Hat
9.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sage.all import *