pb installing sagemath ubuntu from pre-built binaries
Hi,
I try unsuccessfully to install sagemath on my labtop. I download sage-9.4-Ubuntu_20.04-x86_64.tar.bz2 on the official website and then extract in /home/bruno. Then, following the instructions, I open a terminal, get to /bruno/Sagemath, then type ./sage and get
bruno@bruno:~/SageMath$ ./sage /usr/bin/env: «python»: Aucun fichier ou dossier de ce type Error running the script 'relocate-once.py'.
I don't know what to do to fix the issue. I try to google that but could not find a solution that i can understan.
Thank you for your help.
Try to edit the first line of the script
relocate-once.py
: change "python" to "python3". Does that help?(See https://wiki.sagemath.org/ReleaseTour....)
it works !!!! thanks a lot.
Another option is to install the Ubuntu package
python-is-python3
before runningsage
for the first time.