There is no connect_to_region()
function in boto.dynamodb
in boto==2.2.2
version.
Upgrade the module to the latest (2.27.0
) version:
pip install boto --upgrade
Question
Here is my simple code:
import boto.dynamodb
conn = boto.dynamodb.connect_to_region(
'us-east-1',
aws_access_key_id='....',
aws_secret_access_key='....')
print conn
and I get:
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'
Solution
There is no connect_to_region()
function in boto.dynamodb
in boto==2.2.2
version.
Upgrade the module to the latest (2.27.0
) version:
pip install boto --upgrade