Thank you, this allows sage to complete the build. However, now I have another problem. When I run sage from its install directory it gives the error:
AttributeError: module 'sage_conf' has no attribute '_main'
And then strangely, it starts Sage 9.5, the version installed on my system through apt. I didn't want to remove this version using apt because I thought it would remove a lot of packages that I need for other programs. Here is the full output.
./sage
Traceback (most recent call last):
File "/home/packages/SOURCE/sage/ehm_install/bin/././sage-config", line 33, in <
module>
sys.exit(load_entry_point('sage-conf', 'console_scripts', 'sage-config')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/packages/SOURCE/sage/ehm_install/bin/././sage-config", line 25, in i
mportlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 204, in load
return functools.reduce(getattr, attrs, module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'sage_conf' has no attribute '_main'
Traceback (most recent call last):
File "/home/packages/SOURCE/sage/ehm_install/bin/././sage-config", line 33, in <
module>
sys.exit(load_entry_point('sage-conf', 'console_scripts', 'sage-config')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/packages/SOURCE/sage/ehm_install/bin/././sage-config", line 25, in i
mportlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 204, in load
return functools.reduce(getattr, attrs, module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'sage_conf' has no attribute '_main'
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.5, Release Date: 2022-01-30 │
│ Using Python 3.11.2. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘