If you already have BOTO installed via easy_install, the ec2 scripts will fail
------------------------------------------------------------------------------

                 Key: MESOS-141
                 URL: https://issues.apache.org/jira/browse/MESOS-141
             Project: Mesos
          Issue Type: Bug
         Environment: Mac
            Reporter: Matthew Rathbone
            Priority: Minor


Basically the PYTHON_PATH stuff in ec2/mesos-ec2 puts system eggs in front of 
the boto egg in third_parth.

You'll get this error:
Traceback (most recent call last):
  File "./mesos_ec2.py", line 17, in <module>
    from boto.ec2.blockdevicemapping import BlockDeviceMapping, 
EBSBlockDeviceType
ImportError: No module named blockdevicemapping

The solution is:

sudo easy_install pip
sudo pip uninstall boto
./ec2/mesos-ec2
=> works!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to