awscli ModuleNotFoundError: No module named 'botocore'
2022. 10. 24. 14:16ㆍAWS
상황
awscli command 입력시 해당 에러 발생
Traceback (most recent call last):
File "/opt/homebrew/bin/aws", line 19, in <module>
import awscli.clidriver
File "/opt/homebrew/lib/python3.9/site-packages/awscli/clidriver.py", line 17, in <module>
import botocore.session
ModuleNotFoundError: No module named 'botocore'
bo
예상원인
homebrew와 pip 환경 간의 awscli 충돌?
해결방법
1. aws cli 디렉토리 삭제
rm '/opt/homebrew/bin/aws'
2. 패키지 재연결
brew link --overwrite awscli
3. 재설치
brew reinstall awscli
'AWS' 카테고리의 다른 글
AWS Certified Solutions Architect - Associate (SAA-C03) Tip (0) | 2023.10.10 |
---|---|
AWS Certification(SAA) 시험 신청 방법 및 바우처 얻기 (1) | 2023.08.08 |
AWS Certified Solutions Architect - Associate 자료 정리 2차 (0) | 2023.08.04 |
AWS Certified Solutions Architect - Associate 자료 정리 1차 (0) | 2023.07.05 |
AWS 서비스 정리 (0) | 2021.06.30 |