Ask Your Question

BigMartyS's profile - activity

2016-02-29 10:22:18 -0500 answered a question Installation of OpenStack fails with AttributeError: 'module' object has no attribute 'add_metaclass'

Hi,

I have Centos 7 and had the exact same error.

It turned out to caused by "six". (Note the last but one line of your log - @six.add_metaclass...).

Even though the latest version (1.10) was installed. It still seemed to be using an older version???

Try checking the version:

$ python
>>> import six
>>> print six.__version__

It would be interesting to see what version you get. Mine certainly wasn't 1.10!!

And see what pip thinks is installed:

$ pip show six

Un-installing and re-installing worked and I could continue the Devstack deployment.

$ sudo pip uninstall six
$ sudo pip install six

Good luck. Hope it works for you

Regards,

BigM