Description of problem: virt-manager does not start, but shows this output on the command line: Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager", line 34, in <module> from virtinst import util as util File "/usr/share/virt-manager/virtinst/__init__.py", line 87, in <module> from virtinst.distroinstaller import DistroInstaller File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 26, in <module> from . import urlfetcher File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 27, in <module> import requests File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module> from . import utils ImportError: cannot import name utils Version-Release number of selected component (if applicable): virt-manager-1.3.2-1.fc23.noarch
Thanks for the report. What's the output of these commands? rpm -q python-requests python -c 'import requests; print requests'
Here is the output: mebus@box ~ (git)-[home] % rpm -q python-requests package python-requests is not installed 1 mebus@box ~ (git)-[home] % python -c 'import requests; print requests' :( Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module> from . import utils ImportError: cannot import name utils 1 mebus@box ~ (git)-[home] % Mebus
Hmm. Looks like the virt-manager RPM is missing a dep on python-requests, which you seemed to have manually installed already but the install is busted! Does 'dnf install python-requests' fix virt-manager for you?
Err, virt-manager does actually have a dep on python-requests, so your RPM deps must have gotten out of whack somehow
I cannot install it, see here: 1 mebus@box ~ (git)-[home] % sudo dnf install python-requests [...] Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Installing : python-requests-2.9.1-1.fc23.noarch 1/1 Error unpacking rpm package python-requests-2.9.1-1.fc23.noarch Error unpacking rpm package python-requests-2.9.1-1.fc23.noarch error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/requests/packages/chardet: cpio: rename python-requests-2.9.1-1.fc23.noarch was supposed to be installed but is not! Verifying : python-requests-2.9.1-1.fc23.noarch 1/1 Failed: python-requests.noarch 2.9.1-1.fc23
Looks like something related to this: https://bugzilla.redhat.com/show_bug.cgi?id=1236312 I'd suggest following the steps listed in that bug *** This bug has been marked as a duplicate of bug 1236312 ***
for the next person who finds this after a Fedora 23 update. http://stackoverflow.com/questions/23378970/python-requests-importerror-no-module-named-util worked for me, not the py-enum bug.