I also ran into the same problem as Sébastien on Ubuntu 18.04 LTS and would
like a better solution than just having to manually configure the Python
version.
Best,
Travis
On Thursday, June 24, 2021 at 7:20:20 PM UTC+10 Sébastien Labbé wrote:
> Upgrading from 9.4.beta0, my first attempt with running make finishes with:
>
> [python3-3.9.5] error installing, exit status 1. End of log file:
> [python3-3.9.5] File
> "/home/slabbe/GitBox/sage/local/var/tmp/sage/build/python3-3.9.5/src/./setup.py",
>
> line 33, in <module>
> [python3-3.9.5] from distutils import log
> [python3-3.9.5] File
> "/home/slabbe/GitBox/sage/local/lib/python3.9/site-packages/_distutils_hack/__init__.py",
>
> line 83, in create_module
> [python3-3.9.5] return
> importlib.import_module('setuptools._distutils')
> [python3-3.9.5] File
> "/home/slabbe/GitBox/sage/local/var/tmp/sage/build/python3-3.9.5/src/Lib/importlib/__init__.py",
>
> line 127, in import_module
> [python3-3.9.5] return _bootstrap._gcd_import(name[level:],
> package, level)
> [python3-3.9.5] File
> "/home/slabbe/GitBox/sage/local/lib/python3.9/site-packages/setuptools/__init__.py",
>
> line 16, in <module>
> [python3-3.9.5] import setuptools.version
> [python3-3.9.5] File
> "/home/slabbe/GitBox/sage/local/lib/python3.9/site-packages/setuptools/version.py",
>
> line 1, in <module>
> [python3-3.9.5] import pkg_resources
> [python3-3.9.5] File
> "/home/slabbe/GitBox/sage/local/lib/python3.9/site-packages/pkg_resources/__init__.py",
>
> line 23, in <module>
> [python3-3.9.5] import zipfile
> [python3-3.9.5] File
> "/home/slabbe/GitBox/sage/local/var/tmp/sage/build/python3-3.9.5/src/Lib/zipfile.py",
>
> line 6, in <module>
> [python3-3.9.5] import binascii
> [python3-3.9.5] ModuleNotFoundError: No module named 'binascii'
> [python3-3.9.5] Makefile:641: recipe for target 'sharedmods' failed
> [python3-3.9.5] make[5]: *** [sharedmods] Error 1
> [python3-3.9.5]
> ********************************************************************************************
> [python3-3.9.5] Error building python3-3.9.5
> [python3-3.9.5]
> ********************************************************************************************
> [python3-3.9.5]
> [python3-3.9.5] real 2m13.957s
> [python3-3.9.5] user 1m48.606s
> [python3-3.9.5] sys 0m10.179s
> [python3-3.9.5]
> ************************************************************************
> [python3-3.9.5] Error building package python3-3.9.5
> [python3-3.9.5]
> ************************************************************************
> [python3-3.9.5] Full log file:
> /home/slabbe/GitBox/sage/logs/pkgs/python3-3.9.5.log
>
> Currently trying again. Will report later.
>
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-release/3ef61819-e4e1-4c76-877a-4dc68d1379ean%40googlegroups.com.