Re: 'module' object has no attribute '__version__'

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

 



Thanks.

the reason for upgrading from the RHEL version is to get USB drives working in a Windows 7 VM. I was reading that it needed at least version 0.9.1 to enable them and make them work.

At this time, with the version shipping with RHEL, I get Code 10 errors and cannot get the USB drive passthrough to work.



On Fri, Feb 14, 2014 at 3:16 PM, Cole Robinson <crobinso@xxxxxxxxxx> wrote:
On 02/14/2014 04:13 PM, James Clement wrote:
> I think you are correct.
>
> [root@al11 virtManager]# python -c 'import virtinst; print virtinst'
> <module 'virtinst' from '/usr/lib/python2.6/site-packages/virtinst/__init__.pyc'>
> [root@al11 virtManager]# vi cli.py
> [root@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




--
JC
_______________________________________________
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