What does ''HmacAuthV1Handler' object has no attribute 'presign'' mean?
问题 I want to use boto2 (2.49) to create a presigned url that uses Sign v4. Here is my function: c = S3Connection(access_key, secret_key) return c.generate_url_sigv4( expires_in=long(expiry), method='PUT', bucket=bucket, key=path ) When I run it, I got this error: 2019-06-18 12:57:51,002 boto [DEBUG]:Using access key provided by client. 2019-06-18 12:57:51,002 boto [DEBUG]:Using secret key provided by client. Traceback (most recent call last): File "scripts/gen_url.py", line 42, in <module> main