Hello.
I get this error message after launching “sage” (without any options), see below.
I am using Debian Trixie (the current stable, so). Debian released an intermediate update a few days ago, so I updated (without any problems).
Before that, I had no problems using it, so it seems related to that change.
Any ideas?
Thanks.
-----------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mainuser/software/sage-10.8/lib/python3.13/site-packages/_sagemath_editable_loader.py", line 345, in _rebuild
subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=subprocess.DEVNULL, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/ninja']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/mainuser/software/Sagemath/bin/sage", line 5, in <module>
from sage.cli.__main__ import main
File "/home/mainuser/software/sage-10.8/lib/python3.13/site-packages/_sagemath_editable_loader.py", line 311, in find_spec
tree = self._rebuild()
File "/home/mainuser/software/sage-10.8/lib/python3.13/site-packages/_sagemath_editable_loader.py", line 347, in _rebuild
raise ImportError(f're-building the {self._name} meson-python editable wheel package failed') from exc
-----------------------------------------------------------------------------------------------------------------------------