Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Dima Pasechnik
On Fri, Jun 18, 2021 at 11:02 PM Max Alekseyev wrote: > > I'll try the source distribution, but I'd like to mention that building > optional packages from a binary distribution worked well in earlier Sage > versions (e.g., 9.1 and 9.2) please bear with us. We aim at pip install sagemath -u

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Max Alekseyev
I'll try the source distribution, but I'd like to mention that building optional packages from a binary distribution worked well in earlier Sage versions (e.g., 9.1 and 9.2) Regards, Max On Friday, June 18, 2021 at 5:50:20 PM UTC-4 dim...@gmail.com wrote: > On Fri, Jun 18, 2021 at 10:37 PM Max

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Dima Pasechnik
On Fri, Jun 18, 2021 at 10:37 PM Max Alekseyev wrote: > > I installed Sage from sage-9.3-Ubuntu_20.04-x86_64.tar.bz2 this is a binary distribution. It doesn't really allow for building optional packages. Please get the source distribution instead. > > I've just run > > make python3-clean > ./bo

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Matthias Koeppe
We would need to see config.log again to know why. On Friday, June 18, 2021 at 2:37:38 PM UTC-7 max...@gmail.com wrote: > I installed Sage from sage-9.3-Ubuntu_20.04-x86_64.tar.bz2 > > I've just run > > make python3-clean > ./bootstrap > ./configure > > but it still complaints that python3 is not

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Max Alekseyev
I installed Sage from sage-9.3-Ubuntu_20.04-x86_64.tar.bz2 I've just run make python3-clean ./bootstrap ./configure but it still complaints that python3 is not installed in the system. Why? Regards, Max On Friday, June 18, 2021 at 5:32:56 PM UTC-4 dim...@gmail.com wrote: > On Fri, Jun 18, 20

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Dima Pasechnik
On Fri, Jun 18, 2021 at 10:20 PM Max Alekseyev wrote: > > Please find config.log attached. The system has Python 3.8.5 installed. ## Checking whether SageMath should install SPKG python3... ## ## ## configure:32260: python3 has already been

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Max Alekseyev
I've just followed your suggestion and noticed that 'configure' produced the following warning: === notice: the following SPKGs did not find equivalent system packages: python3 _recommended boost cbc cmake coxeter3 gp2c graphviz igraph isl libsemigroups libxml2 lrslib ninja_build

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Dima Pasechnik
On Fri, Jun 18, 2021 at 9:46 PM Max Alekseyev wrote: > > I'd be happy to, but Sage somehow decides that it needs to build its own > Python from scratch. > I simply sun 'sage -i pynormaliz' and get a broken sage as a result. > What's wrong? > we are trying to switch to a sane building scheme: ./b

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Dima Pasechnik
please post top-level config.log Do you have python3 excecutable, version 3.7 or newer? On Fri, Jun 18, 2021 at 9:46 PM Max Alekseyev wrote: > > I'd be happy to, but Sage somehow decides that it needs to build its own > Python from scratch. > I simply sun 'sage -i pynormaliz' and get a broken

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Max Alekseyev
I'd be happy to, but Sage somehow decides that it needs to build its own Python from scratch. I simply sun 'sage -i pynormaliz' and get a broken sage as a result. What's wrong? Regards, Max On Friday, June 18, 2021 at 4:42:00 PM UTC-4 dim...@gmail.com wrote: > don't build Python, use one from t

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-18 Thread Dima Pasechnik
don't build Python, use one from the system. On Fri, 18 Jun 2021, 21:09 Max Alekseyev, wrote: > Hi! > > I'm trying to install PyNormaliz within freshly installed Sage 9.3 within > freshly installed Ubuntu 20.04.02 LTS.It breaks giving the following error: > > === > LD_LIBRARY_PATH=/usr/local/Sag

Re: [sage-devel] Python 3.9.2 failing to build

2021-06-18 Thread Dima Pasechnik
You're not using many packages from the system, e.g. you built gmp (and so everything that depends on it). On Fri, Jun 18, 2021 at 5:47 PM John Cremona wrote: > > On Fri, 18 Jun 2021 at 14:52, John Cremona wrote: > > > > On Fri, 18 Jun 2021 at 14:26, Dima Pasechnik wrote: > > > > > > On Fri, Ju

Re: [sage-devel] Python 3.9.2 failing to build

2021-06-18 Thread John Cremona
On Fri, 18 Jun 2021 at 14:52, John Cremona wrote: > > On Fri, 18 Jun 2021 at 14:26, Dima Pasechnik wrote: > > > > On Fri, Jun 18, 2021 at 2:03 PM John Cremona wrote: > > > > > > On Fri, 18 Jun 2021 at 11:29, Dima Pasechnik wrote: > > > > > > > > On Fri, Jun 18, 2021 at 10:20 AM Samuel Lelièvre

Re: [sage-devel] Python 3.9.2 failing to build

2021-06-18 Thread Dima Pasechnik
On Fri, Jun 18, 2021 at 2:03 PM John Cremona wrote: > > On Fri, 18 Jun 2021 at 11:29, Dima Pasechnik wrote: > > > > On Fri, Jun 18, 2021 at 10:20 AM Samuel Lelièvre > > wrote: > > > > > > 2021-06-17 18:47 UTC, Dima Pasechnik: > > > > > > > > I think it's not the 1st time we see a bug report rela

Re: [sage-devel] Python 3.9.2 failing to build

2021-06-18 Thread John Cremona
On Fri, 18 Jun 2021 at 11:29, Dima Pasechnik wrote: > > On Fri, Jun 18, 2021 at 10:20 AM Samuel Lelièvre > wrote: > > > > 2021-06-17 18:47 UTC, Dima Pasechnik: > > > > > > I think it's not the 1st time we see a bug report related to readline > > > on Ubuntu 20.04 LTS. > > > > > > Please see > >

Re: [sage-devel] Python 3.9.2 failing to build

2021-06-18 Thread Dima Pasechnik
On Fri, Jun 18, 2021 at 10:20 AM Samuel Lelièvre wrote: > > 2021-06-17 18:47 UTC, Dima Pasechnik: > > > > I think it's not the 1st time we see a bug report related to readline > > on Ubuntu 20.04 LTS. > > > > Please see > > https://groups.google.com/g/sage-release/c/wkObkoZQpe4/m/lWDVCrfgAgAJ > >

Re: [sage-devel] Python 3.9.2 failing to build

2021-06-18 Thread Samuel Lelièvre
2021-06-17 18:47 UTC, Dima Pasechnik: > > I think it's not the 1st time we see a bug report related to readline > on Ubuntu 20.04 LTS. > > Please see > https://groups.google.com/g/sage-release/c/wkObkoZQpe4/m/lWDVCrfgAgAJ > > Unfortunately I didn't hear back from Samuel regarding the problem > wit