ImportError: No module named boto.ec2 #20

necrophcodr opened this Issue May 3, 2013 · 6 comments


None yet
4 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?


ghost commented May 8, 2013

I filed a bug about this. See FL-543

m47730 commented Dec 3, 2013

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

So this is a "no-fix"?


danielrobbins commented Jan 18, 2015

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