Skip to content


Subversion checkout URL

You can clone with
Download ZIP


ImportError: No module named boto.ec2 #20

necrophcodr opened this Issue · 6 comments

5 participants


Following the Quick Start Tutorial exactly in a Funtoo virtual machine, running

./scripts/ funtoo-current pentium4

Causes the following to be displayed:

Running /root/git/metro/metro -d multi: yes target/build: funtoo-current target/subarch: pentium4 target/version: 2013-05-03 multi/mode: stage3
Traceback (most recent call last):
File "/root/git/metro/metro", line 216, in
File "/root/git/metro/metro", line 82, in run
File "/root/git/metro/metro", line 181, in setup_paths
self.targets = import_module("targets")
File "/usr/lib/python2.7/importlib/", line 37, in import_module
File "/root/git/metro/modules/targets/", line 5, in
from .ec2 import Ec2Target
File "/root/git/metro/modules/targets/", line 4, in
import boto.ec2
ImportError: No module named boto.ec2
build failure


emerge boto


I could emerge boto, but that would mean using Metro requires me to install additional libraries for features that are rarely even used. How about a check before importing?

rh1 commented

I sincerely agree to avoid this dependency unless is needed some special build.


So this is a "no-fix"?


It was fixed in git a long time ago. It will use boto if available, but won't do a traceback if it's not there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.