How to install oslo modules on Windows?

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

markmcb gravatar image

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

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\runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python34\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python34\Scripts\glance.exe\__main__.py", line 5, in <module>
  File "C:\Python34\lib\site-packages\glanceclient\shell.py", line 30, in <module>
    from keystoneclient.v2_0 import client as ksclient
  File "C:\Python34\lib\site-packages\keystoneclient\__init__.py", line 28, in <module>
    from keystoneclient import client
  File "C:\Python34\lib\site-packages\keystoneclient\client.py", line 13, in <module>
    from keystoneclient import discover
  File "C:\Python34\lib\site-packages\keystoneclient\discover.py", line 19, in <module>
    from keystoneclient import session as client_session
  File "C:\Python34\lib\site-packages\keystoneclient\session.py", 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