python cant be found

70 views
Skip to first unread message

jambo dev

unread,
Dec 19, 2020, 10:48:12 AM12/19/20
to sage-devel
Hi,
I'm trying to install sagemath from source, I know I have python3 installed. The binary is in /usr/bin/python3. Here is what I do:

./configure

and then
make

I get this message:
/usr/bin/env: ‘python’: No such file or directory
make: *** [Makefile:31: base-toolchain] Error 127

I appreciate your help

Matthias Koeppe

unread,
Dec 19, 2020, 12:59:15 PM12/19/20
to sage-devel
We need a bit more information. Which version of Sage are you trying to install? Post config.log 

jambodev

unread,
Dec 19, 2020, 5:05:04 PM12/19/20
to sage-devel
Hi Matthias,

Thanks for your reply.
I'm trying to install 9.2 from source.
Please find my config.log attached.
config.log

Matthias Koeppe

unread,
Dec 21, 2020, 2:38:01 PM12/21/20
to sage-devel

According to config.log, the build is not using system python but rather the Sage distribution's own copy of python3 -- which was installed before the run of configure that is shown in this config.log

This command:

$ ls -l local/bin/python*

should show a symlink python->python3.

Also, please post logs/install.log

Or start with a fresh install of the current beta version.

jambodev

unread,
Dec 23, 2020, 5:50:12 PM12/23/20
to sage-devel
Thanks Matthia for looking into this and for your reply.

However, I must say that I, in the first instance thought about having that symlink and I searched and I found this on that:

  •    Or start with a fresh install of the current beta version.  
does that mean that the current beta version would have this issue? If so I will use that.

Regards,
Reply all
Reply to author
Forward
0 new messages