Nathan, you are right on the diagnose and the solution. Thanks, Enrique. El martes, 23 de diciembre de 2025 a las 5:38:57 UTC+1, Nathan Dunfield escribió:
> Enrique, > > The issue was that you are using Python 3.14 which was released after > Regina 7.3.1. However, I have just put Regina 7.4.1 on PyPI which includes > wheels for Python 3.14. So it should work for you now. > > Best, > > Nathan > > > On Monday, December 22, 2025 at 3:58:34 PM UTC-6 Enrique Artal wrote: > >> 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/80c0eb56-4462-475e-9e08-0d53af3859adn%40googlegroups.com.
