Ask Your Question
0

ModuleNotFoundError: No module named 'sage'

asked 2024-08-19 10:46:19 +0200

kevinrow gravatar image

updated 2024-08-21 13:26:21 +0200

Max Alekseyev gravatar image

last spring I compiled sagemath on 2 machines, 1 with debian testing, 1 debian Sid. Both worked. Now none of them works anymore, even if trying to launch exactly the same way (from xterm):

-------
Traceback (most recent call last):
  File "/home/lambada/MonSAGE__10_3/sage/src/bin/sage-ipython", line 9, in <module>
    from sage.misc.banner import banner
ModuleNotFoundError: No module named 'sage'
----------

Something modified by updates-upgrades??

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-08-21 09:59:32 +0200

eric_g gravatar image

Could it be that your version of Python has changed after some system upgrade? If yes, you need to rebuild Sage from scratch. See e.g. https://sagemanifolds.obspm.fr/instal... (this is for Ubuntu, but this should work for Debian as well).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2024-08-19 10:46:19 +0200

Seen: 194 times

Last updated: Aug 21