-
-
Notifications
You must be signed in to change notification settings - Fork 673
Description
I'm (averner) having trouble with using SageMath as a Python package. In particular, to see why Groebner basis computation in a specific problem of mine takes ages, I'd like to follow the underlying code line-by-line. I compiled SageMath 10.5 on WSL Ubuntu 22.04. Then, following the instructions on this page, I installed Tkinter, reinstalled the SageMath version of Python, started SageMath Python 3.12.5 with "sage -python", then told the interpreter to process "from sage.all import *". It failed with "No module named 'sage'". The directory I run sage from is "~/sage/" and it's the one that contains both executables such as "sage", "bootstrap", "configure", and directories such as "logs", "src", "tools", etc. Inside the "src" directory, there's another directory called "sage", which contains "all.py" and other Python files with the source code. I tried to change the working directory in Python to the "src" directory and import "sage.all" again, but it failed too, this time complaining about missing "cysignals" package in SagMath Python.
Any help with this issue would be much appreciated.
Regards,
Alexander.
Originally posted by @averner in #39272 (comment)