【发布时间】:2018-06-05 03:29:53
【问题描述】:
我正在尝试将 AWS 简单电子邮件服务与 Python 结合使用。我关注了Send an Email Using the AWS SDK for Python (Boto) sample code。程序无法正确导入boto3。
第一次尝试导入boto3时,Python报错ImportError: cannot import name ClientError。
如果我再次尝试导入,错误变为ImportError: cannot import name certs。
我还检查了安装的 boto3 版本,它与示例代码的版本相同。
boto3 Version: 1.4.4
botocore Version: 1.5.95
【问题讨论】:
标签: python amazon-web-services boto3