$ sage ┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 10.0, Release Date: 2023-05-20 │ │ Using Python 3.11.5. Type "help()"forhelp. │ └────────────────────────────────────────────────────────────────────┘ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Warning: sage.all is not available; this is a limited REPL. ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ sage:
而且在 python 里 import sage.all 也会报错:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
$ python Python 3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license"for more information. >>> from sage.all import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/xxx/mambaforge/envs/sage/lib/python3.11/site-packages/sage/all.py", line 75, in <module> from sage.misc.all import * # takes a while ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/xxx/mambaforge/envs/sage/lib/python3.11/site-packages/sage/misc/all.py", line 72, in <module> from .functional import (additive_order, File "/home/xxx/mambaforge/envs/sage/lib/python3.11/site-packages/sage/misc/functional.py", line 26, in <module> from sage.rings.complex_double import CDF ImportError: libgsl.so.25: cannot open shared object file: No such file or directory >>>