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

Re: [virt-tools-list] ImportError: No module named virtinst with virtinst-0.600.1



On 02/02/2013 01:42 AM, Nilambari Joshi wrote:
> Hi,
> 
> I have setup virtinst from source virtinst-0.600.1, using command
> sudo python setup.py install --prefix=/usr --record=file1.txt
> 
> when i run sudo virt-install, i am getting following error,
> File "/usr/bin/virt-install", line 33, in <module>
>     import virtinst
> ImportError: No module named virtinst
> 
> I tried, export PYTHONPATH="/usr/lib/python2.7/site-packages", but its still
> giving the same error.
> 
> Can anybody help to get rid off this?
> 
> before setting up virtinst i have installed qemu-kvm 1.0 and libvirt 0.9.9
> from source
> 

Look in your record file1.txt, it should list exactly where it installed all
the files. My guess is virtinst ended up somewhere else, maybe
/usr/lib64/python2.7/site-packages

- Cole


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