In your setuptools install log one sees:

from random import Random as _Random
  File
"/home/tschrager/sage/local/var/lib/sage/venv-python3.10/lib/python3.11/random.py",
line 49, in <module>
    from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as
_ceil
ModuleNotFoundError: No module named 'math'
*************************************************************************************

That is, your Python got broken when you rebuilt it. We could tell more if
you sent us the python install log, too.

------

In fact, Ubuntu 22.04 (that's what you have in WSL) has many packages,
including Python, which you can install and use to build Sage.
(and you can probably also install and use system-wide tcl/tk for the
Python).


Have a look at the advice Sage's ./configure prints at the end of its run,
it will list system packages you can install and use.

HTH

On Sat, 11 Nov 2023, 08:16 Toby Schrager, <toby.schra...@gmail.com> wrote:

> Hi,
> I tried to install the Tck/Tk libraries for sage after I had already
> downloaded python, so I had to rebuild python after downloading the
> libraries. Now my python will not rebuild due to an error in package
> 'setuptools-68.2.2'. The error code actually told me to email this group,
> which I take it to mean I really messed it up lol. It said to include the
> two files which I attached below, as well as my computer specs. I don't
> really know which specs are relevant, but I have a Windows 11 lenovo with
> 224/475 gb disc space free, and 16gb ram.
> Thank you,
> Toby
>
> --
> 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/da7208f1-fca1-47d6-9312-8d325505b812n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/da7208f1-fca1-47d6-9312-8d325505b812n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAWYfq0VkrL_naVZW5wODbEnR%3DkmCoAFX5YE4an6%2Brv5ov_f4w%40mail.gmail.com.

Reply via email to