Boto3 Error: botocore.exceptions.NoCredentialsError: Unable to locate credentials
When I simply run the following code, I always gets this error. I have saved my credential file in C:\Users\myname\.aws\credentials, from where Boto should read my credentials. Is my setting wrong? Here is the output from boto3.set_stream_logger(‘botocore’, level=’DEBUG’).