Instale a AWS SDK Python
# for version 1:
pip install AWSIoTPythonSDK
# for version 2:
python3 -m pip install awsiotsdk
benjamin deworsop
# for version 1:
pip install AWSIoTPythonSDK
# for version 2:
python3 -m pip install awsiotsdk
# https://aws.amazon.com/sdk-for-python/ has related information