First time here? Check out the FAQ!

Ask Your Question
0

ModuleNotFoundError: No module named 'sage'

asked 0 years ago

kevinrow gravatar image

updated 0 years ago

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??

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 0 years ago

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).

Preview: (hide)
link

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: 0 years ago

Seen: 746 times

Last updated: Aug 21 '24