2018-06-21
Update system causes KVM Clone command error
Virt-clone-o centos-7-update-clone- n centos-7-maven-test-f/var/lib/vmdk/ Jingxiang/maven-test.qcow2
Error message
Traceback (most recent): File"/usr/share/virt-manager/virt-clone", line -,inch<module>Import Virtinst.cli asCLI File"/usr/share/virt-manager/virtinst/__init__.py", line the,inch<module> fromvirtinst.distroinstaller Import Distroinstaller File"/usr/share/virt-manager/virtinst/distroinstaller.py", line at,inch<module> from. Import Urlfetcher File"/usr/share/virt-manager/virtinst/urlfetcher.py", line the,inch<module>Import Requests File"/usr/lib/python2.7/site-packages/requests/__init__.py", line -,inch<module> from. Import Utils File"/usr/lib/python2.7/site-packages/requests/utils.py", line +,inch<module> from. Exceptions Import Invalidurl File"/usr/lib/python2.7/site-packages/requests/exceptions.py", lineTen,inch<module> from. packages.urllib3.exceptions Import Httperror asBasehttperror File"/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line the,inchLoad_module raise Importerror ("No module named '%s '"%(name,)) Importerror:no module named'REQUESTS.PACKAGES.URLLIB3'
Solution Solutions
PIP Install Docker-compose--ignore-installed requests
Pro-Test effective
Cloning KVM Virtual machine error Importerror:no module named ' REQUESTS.PACKAGES.URLLIB3 '