Revision history [back]

click to hide/show revision 1
initial version

error on Glance command line tool with Mac Osx


I did the installation following the openstack documention and use pip. All the install was correct. When I run the glance image-list command I get the following error:

Traceback (most recent call last):
  File "/usr/local/bin/glance", line 7, in <module>
    from import main
  File "/Library/Python/2.7/site-packages/glanceclient/", line 43, in <module>
    from keystoneclient import discover
  File "/Library/Python/2.7/site-packages/keystoneclient/", line 22, in <module>
    from keystoneclient import session as client_session
  File "/Library/Python/2.7/site-packages/keystoneclient/", line 24, in <module>
    from oslo_serialization import jsonutils
  File "/Library/Python/2.7/site-packages/oslo_serialization/", line 62, in <module>
    import six.moves.xmlrpc_client as xmlrpclib
ImportError: No module named xmlrpc_client

I updated the package python-glanceclient, python-keystoneclient with pip install --upgrade command, but still the same issue.

Thanks for your help.