On Tue, Jan 06, 2026 at 06:18:40PM -0800, American Citizen wrote:
> ARRGH! My system is using python 3.13.5 and I still cannot build.
>
> I just checked using the alternatives command for "python3"
>
> does sage math v10.8 using simple "python" and thinks that this will
> automatically refer to python12 ???
>
> my python refers to 2.7.18
>
> perhaps this is the problem???
once again: the immediate problem is in the broken urllib in your
python3. This prevents ./configure from running correctly.
(error reporting could be better, but, well, I don't know how you
managed to get a python3 without urllib)
I tried running OpenSUSE Leap 15.6 in a container, and
zypper install python3
has installed python 3.6.15
The following 5 NEW packages are going to be installed:
libexpat1 libopenssl1_1 libpython3_6m1_0 python3 python3-base
5 new packages to install.
Package download size: 10.6 MiB
Package install size change:
| 38.6 MiB required by packages that will be installed
38.6 MiB | - 0 B released by packages that will be removed
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y):
Retrieving: libexpat1-2.7.1-150400.3.31.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (1/5), 101.7 KiB
Retrieving: libexpat1-2.7.1-150400.3.31.1.x86_64.rpm ....................................................................................................................................................[done (78.1 KiB/s)]
Retrieving: libopenssl1_1-1.1.1w-150600.5.18.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (2/5), 1.4 MiB
Retrieving: libopenssl1_1-1.1.1w-150600.5.18.1.x86_64.rpm ................................................................................................................................................[done (1.4 MiB/s)]
Retrieving: libpython3_6m1_0-3.6.15-150300.10.103.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (3/5), 1.2 MiB
Retrieving: libpython3_6m1_0-3.6.15-150300.10.103.1.x86_64.rpm ...........................................................................................................................................[done (1.1 MiB/s)]
Retrieving: python3-base-3.6.15-150300.10.103.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (4/5), 7.8 MiB
Retrieving: python3-base-3.6.15-150300.10.103.1.x86_64.rpm ...............................................................................................................................................[done (4.7 MiB/s)]
Retrieving: python3-3.6.15-150300.10.103.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (5/5), 106.1 KiB
Retrieving: python3-3.6.15-150300.10.103.1.x86_64.rpm ................................................................................................................................................................[done]
Checking for file conflicts: .........................................................................................................................................................................................[done]
(1/5) Installing: libexpat1-2.7.1-150400.3.31.1.x86_64 ...............................................................................................................................................................[done]
(2/5) Installing: libopenssl1_1-1.1.1w-150600.5.18.1.x86_64 ..........................................................................................................................................................[done]
(3/5) Installing: libpython3_6m1_0-3.6.15-150300.10.103.1.x86_64 .....................................................................................................................................................[done]
(4/5) Installing: python3-base-3.6.15-150300.10.103.1.x86_64 .........................................................................................................................................................[done]
(5/5) Installing: python3-3.6.15-150300.10.103.1.x86_64 ..............................................................................................................................................................[done]
567427c3003b:/ # python3
Python 3.6.15 (default, Dec 21 2025, 21:56:36) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> import urllib.request
>>>
Dima
>
>
> On 1/6/26 18:08, Dima Pasechnik wrote:
> > as I wrote in a reply which went to nowhere due to a typo in the address,
> > the immediate problem is in your /bin/python3,.
> > which does not have urllib (or urllib.request, i.e. urllib is too old) installed.
> >
> >
> > On January 6, 2026 8:00:39 PM CST, American Citizen <
website...@gmail.com> wrote:
> >> I tried:
> >>
> >> ./configure --with-system-python3=no
> >>
> >> and that still crashes.
> >>
> >> I am starting to wonder if sage v10.8 is incompatible with openSuse Leap 15.5 and that OS must be abandoned?
> >>
> >> Leap 15.5 is NOT supported by openSuse anymore, so I guess I will have to upgrade to 16.0
> >>
> >> I have thousands and thousands of programs on my linux machine, so upgrading is fraught with deep peril.
> >>
> >> Randall
> >>
> >>
> >> On 1/6/26 17:55, American Citizen wrote:
> >>> Hello all:
> >>>
> >>> Well Gemini pegged part of the problem as Sage 10.8 needing Python 3.12 to run. My openSuse Leap 15.5 is stuck on Python 3.11 which is too old.
> >>>
> >>> I had to install some repositories to get Python up to level 3.12, and then I had to go through some antics to get certain files active because of this error message
> >>>
> >>> Package 'python312-pip' not found.
> >>> Package 'python312-setuptools' not found.
> >>> Package 'python312-sqlite' not found.
> >>> No provider of 'liblzma-devel' found.
> >>>
> >>> Even after fixing all this and sage configure being happy now with my Python 3.12.. I still keep hitting the same error and everything is dead in the water.
> >>>
> >>> alas, Sage complains that my python 3.12 is misconfigured... Gemini AI doesn't know what it is doing either.
> >>>
> >>> Randall
> >>>
> >>>
>
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-support...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/sage-support/165499ae-b787-46f7-afd7-eed229fe34ed%40gmail.com.