Hi,
I just tried installing sage via conda and it's broken. Am I doing something wrong, or is there any automated testing of sage in conda (which might be a good thing to have)? I was going to publicize sage+conda in a post I was about to make, but won't...
1. Install mambaforge into Ubuntu
2. Add conda-forge channel
3. Install the "sage" package.
4. It appears to install but is broken, evidently maybe due to a libgsl dependency (not sure):
user@compute-server-1540:anaconda$ sage -sh
...
(sage-sh) user@compute-server-1540:anaconda$ python
Python 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:40:35) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sage.all
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/conda/envs/default/lib/python3.11/site-packages/sage/all.py", line 75, in <module>
from sage.misc.all import * # takes a while
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/conda/envs/default/lib/python3.11/site-packages/sage/misc/all.py", line 62, in <module>
from .functional import (additive_order,
File "/conda/envs/default/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
>>>
sage:
(compute-server-1540) ~/anaconda$ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 10.1, Release Date: 2023-08-20 │
│ Using Python 3.11.6. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: sage.all is not available; this is a limited REPL. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: factor(2024)
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 factor(Integer(2024))
NameError: name 'factor' is not defined
sage: