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