Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Built from src on Raspberry Pi 4: No module named 'sage' error

Hello,

Recently I built sage from source on my Raspberry Pi 4. Everything seemed to compile fine except a couple of items (posted below). However, when I go to run ./sage, I get the following error:

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

Running grep -li "^Error" logs/pkgs/* yields,

logs/pkgs/fplll-5.3.2.log
logs/pkgs/gap-4.10.2.p1.log
logs/pkgs/giac-1.5.0.63-p0.log

So, is the fact that these three could not build the problem? I read somewhere that make will stop if such errors are encountered. I'm new to the compile from source world, so the use of ./configure and make are somewhat confusing to me.

Anyways, if you need any further information from these logs or anything else regarding my setup that could be of use, please let me know. I appreciate any help you can offer.