I wanted to take a look to regina in sagemath, but I am not able to install
it. I can install it outside sage with pip (version 7.3.1.1). With sage
-pip install regina I get in both10.8 and develop:
Collecting regina
Using cached regina-6.1.0a3.tar.gz (5.5 MB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: regina
Building wheel for regina (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [120 lines of output]
/usr/local/sagedev1/local/var/lib/sage/venv-python3.14/lib64/python3.14/site-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
...
...
running build_clib
building 'tokyocabinet_regina' library
creating build/temp.linux-x86_64-cpython-314/tokyocabinet-1.4.48
gcc -fno-strict-overflow -Wsign-compare
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection
-fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -Ito
kyocabinet-1.4.48 -c tokyocabinet-1.4.48/tcutil.c -o
build/temp.linux-x86_64-cpython-314/tokyocabinet-1.4.48/tcutil.o -std=gnu99
tokyocabinet-1.4.48/tcutil.c:17:10: fatal error: tcutil.h: No such
file or directory
17 | #include "tcutil.h"
| ^~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem
with pip.
ERROR: Failed building wheel for regina
Running setup.py clean for regina
Failed to build regina
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml
based projects (regina)
And ./sage -pip install --upgrade "regina>=7.0"gives:
./sage -pip install --upgrade "regina>=7.0"
ERROR: Could not find a version that satisfies the requirement regina>=7.0
(from versions: 6.1.0a2, 6.1.0a3)
ERROR: No matching distribution found for regina>=7.0
ERROR: Could not find a version that satisfies the requirement regina>=7.0
(from versions: 6.1.0a2, 6.1.0a3)
ERROR: No matching distribution found for regina>=7.0
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/sage-support/6044c30e-e1c1-4fdf-85d3-0107456a1f8an%40googlegroups.com.