Exception has occurred: AttributeError
module ‘botocore.vendored.requests’ has no attribute ‘exceptions’
File “/Users/shrikantpadhy/Desktop/SWA-ENGINE/gateai-preplanning-engine/runner/main.py”, line 8, in <module>
import boto3
AttributeError: module ‘botocore.vendored.requests’ has no attribute ‘exceptions’
I am using python == 3.11.5
boto3==1.34.140
botocore==1.34.140
I tried reinstalling the boto3 and botocore libraries, I also tried shifting to different python versions still facing the same issue.
Shrikant Padhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.