I want to user boto3 within docker but this error: TypeError: _send_request() takes 5 positional arguments but 6 were given
always responds to me. For example:
Out the docker:
import boto3
s3 = boto3.resource('s3')
for bucket in s3.buckets.all():
print(bucket.name)
And everything works, but within docker python interpreter, it gives me the error.
Any idea? Thanks!
you can upgrade your boto3 and will fix it: pip install --upgrade boto3
Upgrade boto3 using: pip install --upgrade boto3 and restart the runtime environment. This works for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With