Ask Your Question

Revision history [back]

Problems with running sage.all command

I've just installedd sagemath 10.7 on ubuntu 22.04 WSL and when running the command I get the following traceback:

ModuleNotFoundError                       Traceback (most recent call last)

----> 1 from sage.all import *

File ~/sage/src/sage/all.py:108

--> 108 from sage.calculus.all import *


File ~/sage/src/sage/calculus/all.py:6

----> 6 from .integration import numerical_integral, monte_carlo_integral

File ~/sage/src/sage/calculus/integration.pyx:1, in init sage.calculus.integration()

ModuleNotFoundError: No module named 'sage.ext.interpreters.wrapper_rdf'

although I do have neccessary files:

wrapper_rdf.c, wrapper_rdf.cpython-312-x86_64-linux-gnu.so, wrapper_rdf.pxd, wrapper_rdf.pyx

in ~/sage/src/sage/ext/interpreters directory.

One more thing that I noticed is that I have /mnt/d directory in my sys.path and when running sage -n for first time I get the folder /mnt/d/sage/ext/interpreters, which contents are practically the same, except it lacks wrapper_?.c and wrapper _?.cpython.so files. I tried to remove /mnt/d from sys.path, but the error is still the same. Any help would be appreciated

Problems with running sage.all command

I've just installedd installed sagemath 10.7 on ubuntu 22.04 WSL and when running the command I get the following traceback:

ModuleNotFoundError                       Traceback (most recent call last)

----> 1 from sage.all import *

File ~/sage/src/sage/all.py:108

--> 108 from sage.calculus.all import *


File ~/sage/src/sage/calculus/all.py:6

----> 6 from .integration import numerical_integral, monte_carlo_integral

File ~/sage/src/sage/calculus/integration.pyx:1, in init sage.calculus.integration()

ModuleNotFoundError: No module named 'sage.ext.interpreters.wrapper_rdf'

although I do have neccessary files:

wrapper_rdf.c, wrapper_rdf.cpython-312-x86_64-linux-gnu.so, wrapper_rdf.pxd, wrapper_rdf.pyx

in ~/sage/src/sage/ext/interpreters directory.

One more thing that I noticed is that I have /mnt/d directory in my sys.path and when running sage -n for first time I get the folder /mnt/d/sage/ext/interpreters, which contents are practically the same, except it lacks wrapper_?.c and wrapper _?.cpython.so files. I tried to remove /mnt/d from sys.path, but the error is still the same. Any help would be appreciated