Why does python header for example functions in RHEVM-SDK documentation generates error? ImportError: No module named states, config
Issue
- As per the RHEVM-SDK documentation on this link, we tried to import
statesmodule. - However the import fails stating there's no such module.
# python
Python 2.6.6 (r266:84292, Sep 12 2011, 14:03:14)
[GCC 4.4.5 20110214 (Red Hat 4.4.5-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import states
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named states
Environment
- Red Hat Enterprise Virtualization 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.