我想在 docker 中使用 boto3,但是这个错误:TypeError: _send_request() takes 5 positional arguments but 6 were given
总是回应我。例如:
走出码头:
import boto3
s3 = boto3.resource('s3')
for bucket in s3.buckets.all():
print(bucket.name)
一切正常,但在 docker python 解释器中,它给了我错误。
有什么想法吗?谢谢!
最佳答案
您可以升级您的 boto3 并修复它: pip install --upgrade boto3
关于python: boto3 _send_request() 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40665461/