not working

asked 2015-12-30 09:40:11 -0500

masber gravatar image

This is what I am doing to install devstack:

  1. create new VM on virtualbox
  2. Install centos7 minimal
  3. Install git (yum install git-core)
  4. cd /tmp
  5. git clone (
  6. devstack/tools/
  7. chown -R stack:stack /tmp/devstack
  8. su stack
  9. cd devstack; ./

However I am getting a strange error message related with my python-six as it is not recognising the modules

 File "/usr/lib/python2.7/site-packages/oslo_serialization/", line 61, in <module>
    import six.moves.xmlrpc_client as xmlrpclib
ImportError: No module named xmlrpc_client

Please note:

pip freeze | grep six
does openstack really not have packages or venv support
 >>> import six; print(six.__version__)

So it looks like python interpreter is using six 1.2.0 instead of 1.10.0

Any idea on how to fix this?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-01-01 17:01:16 -0500

masber gravatar image

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

answered 2016-01-11 15:28:03 -0500

Sandeep gravatar image

yum -y update and then try.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-12-30 09:40:11 -0500

Seen: 423 times

Last updated: Jan 11 '16