Problem scenario
You want to retrieve VPC peering connection info and other VPC info via Boto3. With Python 3 you tried to run this Python 2 (and Boto 2.x) program:
import boto.vpc
c = boto.vpc.connect_to_region(‘us-east-1’)
vpcs = c.get_all_vpcs()
vpc_peering_connection = c.create_vpc_peering_connection(vpcs[0].id, vpcs[1].id)
(It was written by the person who developed Boto 2.x here.)
You have a variety or problems with the syntax not working.
…
Continue reading “How Do You Get Past “ImportError: No module named ‘boto’”?”