I am working with python and jupyter notebook and am getting a 'No credentials' error when using the following code:
import boto3
s3 = boto3.resource('s3')
bucket = s3.Bucket('my-bucket')
I have awscli installed into my notebook with:
pip install awscli --user
I have also tried adding:
aws configure
but that gave me a syntax error. I also have aws cli installed in my laptop, even though I am working in a jupyter notebook. Thank you!