操作系统是Ubuntu 16.04
Python版本是3
使用PIP安装AWS CLI
AWS CLI版本为ncheaz@thinkburger:~/Projects/drupal-interact$ aws --endpoint-url 'https://control.cloud-object-storage.cloud.ibm.com/v2/endpoints' s3 ls
An HTTP Client raised and unhandled exception: __init__() got an unexpected keyword argument 'ssl_context'
我正确设置了HMAC凭据,然后在命令行中键入以下内容:
{{1}}
答案 0 :(得分:0)
检查您的urllib3版本。将urllib3升级到1.25.11(最新)为我解决了这个问题。 https://pypi.org/project/urllib3/1.25.11/