Hello,

I'm experiencing difficulties 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 
<https://doc.sagemath.org/html/en/faq/faq-usage.html>, 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.

-- 
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 visit 
https://groups.google.com/d/msgid/sage-devel/7473ee72-3717-4a4c-ac70-4aa4fedc4d14n%40googlegroups.com.

Reply via email to