Problems with create_cloudsim.py
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!
Asked by rkeatin3 on 2014-06-02 10:27:24 UTC
Answers
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
Asked by hugomatic on 2014-06-02 19:57:44 UTC
Comments
I have run all of those commands. When I run the last one I get "Requirement already satisfied..."
Asked by rkeatin3 on 2014-06-03 09:14:25 UTC
Comments