[virt-tools-list] 'module' object has no attribute '__version__'

James Clement james.clement at gmail.com
Fri Feb 14 19:50:18 UTC 2014


I recently tried to install virt-manager on RHEL 6.5 and I get the
following error when trying to start virt-manager

Here is the debug output:

[root at al11 python2.6]# virt-manager --debug
2014-02-14 13:44:32,521 (cli:71): virt-manager startup
2014-02-14 13:44:32,522 (virt-manager:292): Launched as:
/usr/share/virt-manager/virt-manager.py --debug
2014-02-14 13:44:32,522 (virt-manager:293): GTK version: (2, 20, 1)
2014-02-14 13:44:32,522 (virt-manager:294): virtManager import: <module
'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
2014-02-14 13:44:32,549 (cli:110): Error import virtinst
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/cli.py", line 107, in
check_virtinst_version
    ignore = virtinst.__version__
AttributeError: 'module' object has no attribute '__version__'
2014-02-14 13:44:32,549 (virt-manager:390): 'module' object has no
attribute '__version__'

virt-manager requires the python-virtinst library version 0.600.1 or
greater. This can be downloaded at:

http://virt-manager.org/download.html
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 383, in <module>
    main()
  File "/usr/share/virt-manager/virt-manager.py", line 296, in main
    cli.check_virtinst_version(virtinst_str)
  File "/usr/share/virt-manager/virtManager/cli.py", line 111, in
check_virtinst_version
    raise RuntimeError(str(e) + "\n\n" + msg)
RuntimeError: 'module' object has no attribute '__version__'

virt-manager requires the python-virtinst library version 0.600.1 or
greater. This can be downloaded at:


According to Python, I have 0.600.4 installed:

[root at al11 python2.6]# python
Python 2.6.6 (r266:84292, Nov 21 2013, 10:50:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import virtinst
>>> print virtinst.__version__
0.600.4
>>>

I am using 0.9.1 of virt-manager

[root at al11 python2.6]# virt-manager --version
0.9.1


I am stumped. Any help is appreciated. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140214/f601727a/attachment.htm>


More information about the virt-tools-list mailing list