How to install oslo modules on Windows?

asked 2014-08-05 09:43:03 -0600

markmcb gravatar image

updated 2014-08-05 15:47:42 -0600

smaffulli gravatar image

I am running Windows Server 2008 and have installed the python openstack clients using pip install python-<package>client. I have the environment variables set and I am able to run commands like "nova list" and get valid responses.

However, when I try to run anything with glance, "glance --version", I get the following traceback:

C:\Dev\python>glance --version
Traceback (most recent call last):
  File "C:\Python34\lib\", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python34\lib\", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python34\Scripts\glance.exe\", line 5, in <module>
  File "C:\Python34\lib\site-packages\glanceclient\", line 30, in <module>
    from keystoneclient.v2_0 import client as ksclient
  File "C:\Python34\lib\site-packages\keystoneclient\", line 28, in <module>
    from keystoneclient import client
  File "C:\Python34\lib\site-packages\keystoneclient\", line 13, in <module>
    from keystoneclient import discover
  File "C:\Python34\lib\site-packages\keystoneclient\", line 19, in <module>
    from keystoneclient import session as client_session
  File "C:\Python34\lib\site-packages\keystoneclient\", line 17, in <module>
    from oslo.config import cfg
ImportError: No module named 'oslo'

I have tried to install oslo with pip, pip install python-oslo and pip install python-oslo-config, but neither of these are found.

edit retag flag offensive close merge delete