【发布时间】:2014-05-08 06:40:42
【问题描述】:
这是我的简单代码:
import boto.dynamodb
conn = boto.dynamodb.connect_to_region(
'us-east-1',
aws_access_key_id='....',
aws_secret_access_key='....')
print conn
我得到:
Traceback (most recent call last):
File "startMarch28.py", line 5, in <module>
conn = boto.dynamodb.connect_to_region(
AttributeError: 'module' object has no attribute 'connect_to_region'
【问题讨论】:
-
您使用的是哪个
boto版本? (boto.__version__) -
感谢您的回复。它是:2.2.2
标签: python module connect amazon-dynamodb attributeerror