Got it!

On Monday, September 21, 2020 at 5:42:28 PM UTC+2 Matthias Koeppe wrote:

> Try installing python3.8-distutils. 
>
> this package does not exist, trying to sudo apt-get install 
python3.8-distutils replaces it by python3-distutils which is already 
installed.

What worked for me (on ubuntu 18.04 I recall) is:

sudo apt-get install python3.8-dev

and now ./configure picks up the system Python:

-----------------------------------------------------------------------------
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... yes
checking for python3 >= 3.6, < 3.9 with modules sqlite3, ctypes, math, 
hashlib, crypt, readline, socket, zlib, distutils.core... /usr/bin/python3.8
configure: will use system package and not install SPKG python3
-----------------------------------------------------------------------------

-- 
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/2b1312fb-1a7a-4fbf-a733-314fdb500b92n%40googlegroups.com.

Reply via email to