20230531 TIL - 배포 중 만난 에러 정리
1️⃣ [Gunicorn] Poetry환경 Failed at step EXEC spawning / No such file or directory
[Gunicorn] Poetry환경 Failed at step EXEC spawning / No such file or directory
1️⃣ 문제 Failed at step EXEC spawning /home/ubuntu/project/venv/bin/gunicorn: No such file or directory Poetry로 가상환경 사용 시, 일반적으로 사용하는 경로를 지정했을 때, 해당 오류가 발생할 수 있다. 이유는 Poetr
codemte.tistory.com
2️⃣ [MySQL] EC2 Ubuntu환경 python 3.11 사용 시 ChefBuildError
[MySQL] EC2 Ubuntu환경 python 3.11 사용 시 ChefBuildError
1️⃣ 문제 poetry install 중 mysqlclient 설치하는 과정에서 에러가 발생했다. 빌드에 필요한 요소들이 없다는 에러 ChefBuildError Backend subprocess exited when trying to invoke get_requires_for_build_wheel /bin/sh: 1: mysql_
codemte.tistory.com
3️⃣ [Poetry] EC2 ubuntu환경 NoCompatiblePythonVersionFound Error
[Poetry] EC2 ubuntu환경 NoCompatiblePythonVersionFound Error
1️⃣ 문제 AWS 배포 과정 중 프로젝트의 Poetry가 3.11 버전이상의 파이썬을 필요로 하는데, 기본적으로 ubuntu는 3.10.6이 설치되어있다. poetry shell The currently activated Python version 3.10.6 is not supported by the
codemte.tistory.com