[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



Hi Cole

Here is the output of required commands

root mypc:/home/nilambari/virtinst-0.600.1# ls /usr/lib/python2.7/site-packages
virtconv  virtinst  virtinst-0.600.1-py2.7.egg-info

root mypc:/home/nilambari/virtinst-0.600.1# python -c 'import sys; print sys.path'
['', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']

root mypc:/home/nilambari/virtinst-0.600.1# PYTHONPATH="/usr/lib/python2.7/site-packages" python -c 'import sys; print sys.path; import virtinst; print virtinst'
['', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
<module 'virtinst' from 'virtinst/__init__.py'>

Thanks and Regards,
Nilambari


On Sun, Feb 3, 2013 at 8:19 PM, Cole Robinson <crobinso redhat com> wrote:
On 02/02/2013 10:59 PM, Nilambari Joshi wrote:
> Hi Cole,
>
> Thanks for the reply. In file1.txt, virtinst appears in
> /usr/lib/python2.7/site-
packages.
> am attaching file1.txt for reference. I dont have /usr/lib64.
>
> Any configuration file do i need to change ?
>

Please reply on list.

What's the output of


ls /usr/lib/python2.7/site-
packages
python -c 'import sys; print sys.path'
PYTHONPATH="/usr/lib/python2.
7/site-packages" python -c 'import sys; print
sys.path; import virtinst; print virtinst'


Thanks,

Cole


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