Sage (Python を使用) シェルを使用して aws ec2 で「バイナリファイルを実行できません」

Sage (Python を使用) シェルを使用して aws ec2 で「バイナリファイルを実行できません」

AWS EC2 サーバーで SageMath (Python を使用) を使用したいと思います。

SageMath コンソール インターフェイスを試したところ、次のエラーが発生しました。

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

SageMath シェル環境でも同じエラーが発生しました:

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

役に立つと思われる、$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

この問題を解決するにはどうすればいいでしょうか?

関連情報