“não é possível executar arquivo binário” no aws ec2 com shell sage (usando python)

“não é possível executar arquivo binário” no aws ec2 com shell sage (usando python)

Gostaria de usar o SageMath (usando Python) em um servidor AWS EC2.

Quando tentei a interface do console SageMath, recebi o seguinte erro:

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

E com o ambiente shell SageMath, recebi o mesmo erro:

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

Se for útil, aqui está o que o comando $PATH fornece:

(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

Como resolver este problema?

informação relacionada