Q:

ImportError: No module named boto.ec2.autoscale

I attempted to run the following boto library example:
$echo $PYTHONPATH
/Library/Python/2.7/site-packages/

$python
Python 2.7.10 (default, Jul 14 2015, 19:46:27) 
>>> from boto.ec2.autoscale import AutoScaleConnection
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named boto.ec2.autoscale

$ls $PYTHONPATH | grep -i boto
boto3
boto3-1.3.0.dist-info
botocore
botocore-1.4.6.dist-info

Following this useful PYTHONPATH question, I don't understand why that module isn't found.

A:

It seems like you installed boto3 instead of boto.
Install boto or use boto3 api.

