Try installing python3.8-distutils. On Monday, September 21, 2020 at 8:35:00 AM UTC-7 Sébastien Labbé wrote:
> > > > >> ----------------------------------------------------------------------------- >> >> >> > > Checking whether SageMath should install SPKG python3... >> > > checking whether any of sqlite libpng bzip2 xz libffi is installed as >> or will be installed as SPKG... no >> > > checking for python3 >= 3.7, < 3.9 with modules sqlite3, ctypes, >> math, hashlib, crypt, readline, socket, zlib, distutils.core... >> > > checking ... whether /usr/bin/python3.8 is good... no, the version is >> in the supported range, and the modules can be imported, but distutils >> cannot build a C extension >> > > checking ... whether /usr/bin/python3 is good... no, Python 3.6.9 is >> too old >> > >> > try >> > https://trac.sagemath.org/ticket/30053 >> > which bans 3.6. >> > > Actually, the above is obtained with the branch #30053. Otherwise, system > python 3.6 is chosen. > > >> >> you might need to >> >> apt install python3-distutils >> > > As I wrote, this is was I did. It says it is already the most recent > version (3.6.9-1~18.04) which is installed, which seems to mean that it is > distutils for system python 3.6 not 3.8. > > >> >> and then >> >> ./configure PYTHON3=/usr/bin/python3.8 >> > > I can try that, but I think it will not work since "distutils cannot build > a C extension" in my system python 3.8. > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/3534f6be-b7e2-422a-9cf2-d1cc59c8d1ccn%40googlegroups.com.