Ask Your Question

anmig's profile - activity

2021-12-24 01:07:25 +0200 received badge  Popular Question (source)
2020-08-02 17:48:43 +0200 commented answer Built from src on Raspberry Pi 4: No module named 'sage' error

Thank you very much. I will try that. Again, apologies for not going about this inquiry properly. I appreciate your assistance nonetheless.

2020-08-01 01:11:02 +0200 commented answer Built from src on Raspberry Pi 4: No module named 'sage' error

Thank you for the thorough overview. Just as an aside, I did follow the official documentation when building. The version is 9.1. However, I noticed that some of the steps you provided differ slightly from what I had come across there. Particularly regarding git, since I didn't use the git repo, but some mirror on the sage site. Furthermore, I also ran make with tests, but again, am too unfamiliar with everything to know what was going on. Looking at my install.log, it says "Error building Sage" and that fplll-5.3.2 and giac-1.5.0.63-p0 failed to build.

Just wanted to make note of that here for anyone else with similar problems. I will do as you recommend and subscribe to the mailing list to post further issues on this matter.

Thank you.

2020-08-01 00:54:55 +0200 received badge  Supporter (source)
2020-07-31 21:24:14 +0200 received badge  Student (source)
2020-07-31 21:24:06 +0200 asked a question 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.