Why does python header for example functions in RHEVM-SDK documentation generates error? ImportError: No module named states, config

Solution Unverified - Updated -

Issue

  • As per the RHEVM-SDK documentation on this link, we tried to import states module.
  • 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.