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

Cole Robinson crobinso at redhat.com
Fri Feb 14 21:16:10 UTC 2014


On 02/14/2014 04:13 PM, James Clement wrote:
> I think you are correct.
> 
> [root at al11 virtManager]# python -c 'import virtinst; print virtinst'
> <module 'virtinst' from '/usr/lib/python2.6/site-packages/virtinst/__init__.pyc'>
> [root at al11 virtManager]# vi cli.py
> [root at al11 virtManager]# virt-manager
> <module 'virtinst' from '/usr/share/virt-manager/virtinst/__init__.pyc'>
> 
> Unsure how to proceed, I am a bit of a newbie to this. Thanks.
> 

My recommendation would be to yum remove virt-manager python-virtinst, rm -rf
/usr/share/virt-manager and /usr/lib/python2.6/site-packages/virtinst, make
sure 'import virtinst' no longer works, then reinstall the packages with yum
and just stick with RHEL versions.

Otherwise if you really want to install things by hand, you'll have to look at
setup.py options and really watch the build output so you know where
everything is going.

- Cole




More information about the virt-tools-list mailing list