Ask Your Question

Revision history [back]

ModuleNotFoundError when importing Sirocco

Hi,

I am using SageMath 10.2 on a cluster running on Rocky Linux. I am trying to use the Sirocco package, but I run into a ModuleNotFoundError when importing:

sage: from sage.libs.sirocco import contpath
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In [2], line 1
----> 1 from sage.libs.sirocco import contpath

ModuleNotFoundError: No module named 'sage.libs.sirocco'

However the module is correctly listed among the installed packages:

sage: from sage.misc.package import installed_packages
sage: sage: print(installed_packages()['sirocco'])
2.1.0

Any idea on what is causing this? I think it might be linked to the fact it is a Cython library. Any help is appreciated.