"No se puede ejecutar el archivo binario" en AWS EC2 con el shell Sage (usando Python)

"No se puede ejecutar el archivo binario" en AWS EC2 con el shell Sage (usando Python)

Me gustaría utilizar SageMath (usando Python) en un servidor AWS EC2.

Cuando probé la interfaz de la consola SageMath recibí el siguiente error:

/opt/sagemath-8.8/local/bin/python: /opt/sagemath-8.8/local/bin/python: cannot execute binary file
/bin/bash: Exit 126.

Y con el entorno de shell SageMath, recibí el mismo error:

(sage-sh) Administrator@EC2AMAZ-P55TVFN:~$ sage
/opt/sagemath-8.8/local/bin/python: /opt/sagemath-8.8/local/bin/python: cannot execute binary file

Si es útil, esto es lo que proporciona el comando $PATH:

(sage-sh) Administrator@EC2AMAZ-P55TVFN:~$ $PATH
bash: /opt/sagemath-8.8/local/lib/R/lib:/opt/sagemath-8.8/local/lib:/opt/sagemath-8.8/build/bin:/opt/sagemath-8.8/src/bin:/opt/sagemath-8.8/local/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Windows/System32/OpenSSH:/cygdrive/c/Program: No such file or directory

¿Cómo resolver este problema?

información relacionada