Cloning KVM Virtual machine error Importerror:no module named ' REQUESTS.PACKAGES.URLLIB3 '

Source: Internet
Author: User

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 '

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.