Gazebo | Ignition | Community
Ask Your Question
0

Problems with create_cloudsim.py

asked 2014-06-02 10:27:24 -0500

rkeatin3 gravatar image

When trying to start cloudsim, I get the following error when running create_cloudsim.py:

    Traceback (most recent call last):
  File "./cloudsim-2.0.0/bin/create_cloudsim.py", line 19, in <module>
    import cloudsimd.launchers.cloudsim  as cloudsim
  File "/home/rkeatin3/cloudsim-2.0.0/cloudsimd/launchers/cloudsim.py", line 23, in <module>
    from vrc_contest import create_private_machine_zip
  File "/home/rkeatin3/cloudsim-2.0.0/cloudsimd/launchers/vrc_contest.py", line 14, in <module>
    from launch_utils.softlayer import load_osrf_creds,\
  File "/home/rkeatin3/cloudsim-2.0.0/cloudsimd/launchers/launch_utils/softlayer/__init__.py", line 5, in <module>
    import SoftLayer.API
  File "/usr/local/lib/python2.7/dist-packages/SoftLayer/__init__.py", line 19, in <module>
    from .API import *  # NOQA
  File "/usr/local/lib/python2.7/dist-packages/SoftLayer/API.py", line 11, in <module>
    from .transports import make_xml_rpc_api_call
  File "/usr/local/lib/python2.7/dist-packages/SoftLayer/transports.py", line 12, in <module>
    from SoftLayer.utils import xmlrpc_client
  File "/usr/local/lib/python2.7/dist-packages/SoftLayer/utils.py", line 18, in <module>
    xmlrpc_client = six.moves.xmlrpc_client  # pylint: disable=E1101,C0103
AttributeError: '_MovedItems' object has no attribute 'xmlrpc_client'

Any ideas?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-06-02 19:57:44 -0500

hugomatic gravatar image

It looks like your SoftLayer API is not installed correctly. Did you "sudo pip install softlayer"?

sudo apt-get install -y redis-server python-pip python-redis python-novaclient

sudo pip install --upgrade boto

sudo apt-get install -y expect

sudo pip install softlayer

see here for more details: http://gazebosim.org/wiki/Tutorials/CloudSim/setup

edit flag offensive delete link more

Comments

I have run all of those commands. When I run the last one I get "Requirement already satisfied..."

rkeatin3 gravatar imagerkeatin3 ( 2014-06-03 09:14:25 -0500 )edit

Question Tools

Stats

Asked: 2014-06-02 10:27:24 -0500

Seen: 416 times

Last updated: Jun 02 '14