Ask Your Question

can't install dev stack on centos 7 minimal

asked 2015-12-29 19:01:35 -0600

masber gravatar image

I am getting the following error while installing devstack from git repository (following this link)

+ sudo chown -R stack /opt/stack/horizon/horizon.egg-info
+ cd /opt/stack/horizon
+ ./ -N --compilemessages
Traceback (most recent call last):
  File "/opt/stack/horizon/", line 23, in <module>
  File "/usr/lib/python2.7/site-packages/django/core/management/", line 354, in execute_from_command_line
  File "/usr/lib/python2.7/site-packages/django/core/management/", line 303, in execute
  File "/usr/lib/python2.7/site-packages/django/conf/", line 48, in __getattr__
  File "/usr/lib/python2.7/site-packages/django/conf/", line 44, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/lib/python2.7/site-packages/django/conf/", line 92, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib64/python2.7/importlib/", line 37, in import_module
  File "/opt/stack/horizon/openstack_dashboard/", line 27, in <module>
    from openstack_dashboard import exceptions
  File "/opt/stack/horizon/openstack_dashboard/", line 21, in <module>
    from heatclient import exc as heatclient
  File "/usr/lib/python2.7/site-packages/heatclient/", line 15, in <module>
    from oslo_serialization import jsonutils
  File "/usr/lib/python2.7/site-packages/oslo_serialization/", line 62, in <module>
    import six.moves.xmlrpc_client as xmlrpclib
ImportError: No module named xmlrpc_client

Any idea how can I fix this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-01 17:02:23 -0600

masber gravatar image

the problem was multiple python versions installed on my system. A work around to this problem is to manually install six on your system:

# wget
# tar -zxvf six-1.10.0.tar.gz
# python ./six-1.10.0/ install

# python -c 'import six; print(six.__version__)'
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-12-29 19:01:35 -0600

Seen: 655 times

Last updated: Jan 01 '16