I'm using python 3.7 on Windows with Anaconda. I'm trying to follow the instructions on Boto Quickstart but it fails to locate the credentials.
I'm following the instructions here: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html#using-boto-3
I have stored the two files with key location here:
When I execute:
for bucket in s3.buckets.all(): print(bucket.name)
the error message is:
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\auth.py", line 357, in add_auth raise NoCredentialsError
NoCredentialsError: Unable to locate credentials