Skip to content

Groebner basis computation issue (and Ubuntu 22.04 building) #39740

@dimpase

Description

@dimpase

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions