728x90
반응형
SMALL
쿠버네티스 환경세팅시 Could not find a version that satisfies the requirement ansible==8.5.0 오류 발생
yum 업데이트
$ yum update
기존 ansible 버전 제거
$ pip uninstall ansible
또는
$ yum remove ansible
ansible 버전확인
$ ansible --version
requirement.txt 설치
$ pip3 install -r requirement.txt
하.. 다 제거하거 설치하려고 하니깐 다른 오류 등장
Could not find a version that satisfies the requirement ansible-core~=2.16.0

위 로그 참고하여 2.16.0 설치
$ pip install ansible-core==2.16.0
에러 다시 등장...
에러 로그에서 호환되는 버전 리스트를 준다. 2.15버전으로 다시 재설치 해보자

호환되는 하위버전 설치
$ pip install ansible-core==2.15

다시 requirement.txt 설치
$ pip3 install -r requirement.txt
해결완료

728x90
반응형
LIST
'나의 주니어 개발 일기 > 쿠버네티스' 카테고리의 다른 글
| 쿠버네티스 정리2 (0) | 2026.03.23 |
|---|---|
| 쿠버네티스 정리1 (0) | 2026.03.23 |
| [K8s] 쿠버네티스 사설 레지스트리 구축 및 x509: certificate signed by unknown authority 에러 해결 가이드 (0) | 2026.03.06 |
