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

이 문제를 해결하는 방법?

관련 정보