Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ImportError: No module named boto.ec2 #20

Closed
necrophcodr opened this Issue · 6 comments

5 participants

@necrophcodr

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

./scripts/ezbuild.sh 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
Metro().run()
File "/root/git/metro/metro", line 82, in run
self.setup_paths()
File "/root/git/metro/metro", line 181, in setup_paths
self.targets = import_module("targets")
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/root/git/metro/modules/targets/init.py", line 5, in
from .ec2 import Ec2Target
File "/root/git/metro/modules/targets/ec2.py", line 4, in
import boto.ec2
ImportError: No module named boto.ec2
build failure

@GrayTShirt

emerge boto

@necrophcodr

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
rh1 commented
@m47730

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

@necrophcodr

So this is a "no-fix"?

@danielrobbins

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.