-------- Original Message --------
From: [email protected]
Sent: January 6, 2026 8:01:38 PM CST
To: American Citizen <[email protected]>
Cc: [email protected]
Subject: Re: [sage-support] Cannot seem to build from main branch v10.8
Your system python has a broken, or missing, urllib.
> ImportError: No module named request
just above
> real_configure:98992: error: Package directory missing. Re-run bootstrap.
(this error message is likely misleading)
Hopefully, installing urllib will get you through this one.
By the way, can you install python3.12 or later (with the necessary for
development packages)?
Then you can pass it to ./configure in --with-python= option.
Or, even better, switch to using python3.12 or newer as the system Python?
We don't support python3.11 (which you have as /usr/bin/python3) anymore.
Theoretically, Sage would be capable of builing a suitable
Python, but practically this is mostly broken.
> Traceback (most recent call last):
> File "build/bin/sage-package", line 38, in <module>
> from sage_bootstrap.cmdline import run
> File "build/bin/../sage_bootstrap/cmdline.py", line 33, in <module>
> from sage_bootstrap.app import Application
> File "build/bin/../sage_bootstrap/app.py", line 34, in <module>
> from sage_bootstrap.tarball import Tarball, FileNotMirroredError
> File "build/bin/../sage_bootstrap/tarball.py", line 23, in <module>
> from sage_bootstrap.download import Download, MirrorList
> File "build/bin/../sage_bootstrap/download/__init__.py", line 7, in <module>
> from sage_bootstrap.download.transfer import Download
> File "build/bin/../sage_bootstrap/download/transfer.py", line 24, in <module>
> from urllib.request import build_opener, install_opener, urlretrieve
> ImportError: No module named request
> real_configure:98992: error: Package directory missing. Re-run bootstrap.
> real_configure: error: Package directory missing. Re-run bootstrap.
HTH
Dima
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/sage-support/0E6BAC98-2E65-42DA-9EDC-FAE0BA4EB01C%40gmail.com.