On Tue, 28 Jul 2020, 07:13 Karima Shahzad, <karimashah...@gmail.com> wrote:
> Hello, > I am Installing SageMath from the source code on my Ubuntu20.04. I had > installed it successfully but, due to some issues in my system, I > reinstalled Ubuntu, and now following the same step for sage installation I > get an Error in the Installation of 'tar.bz2' file. I give the 'make -j4' > command but get the error > '/usr/bin/env: ‘python’: No such file or directory > make: *** [Makefile:31: base-toolchain] Error 127' > > I have installed all the prerequisites of SageMath. I have Python3 as > well. Please do help me out in fixing the issue. Is it like python should > be on the path of Sage? if so, how could I bring it there? Or either 'make' > should be on the path, if so, then again how can I bring it there? Your > support would give me a big relief, as it has been my headache for three > days. > What is the full name of the tarfile you are using? Are you by any chance trying to build from a binary distribution? The standard Ubuntu's way to deal with the python problem seems to be to use update-alternatives command, something like this: sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 10 Note: I have 'GNU make 4.2.1'. > > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/111c1197-ccc2-47fa-948f-8c08b297cb53o%40googlegroups.com > <https://groups.google.com/d/msgid/sage-support/111c1197-ccc2-47fa-948f-8c08b297cb53o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq37H_LVVYHfdn%2ByAvHZ1kB8oNo_hEvvGUi5AyxEc0Y1KQ%40mail.gmail.com.