'module' object has no attribute '__version__'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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@al11 python2.6]# virt-manager --version
0.9.1


I am stumped. Any help is appreciated. Thanks.

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux