Skip to content

Instantly share code, notes, and snippets.

@mcl21014
Created February 9, 2025 03:17
Show Gist options
  • Save mcl21014/c1856573164b4446a44fac31eb02b596 to your computer and use it in GitHub Desktop.
Save mcl21014/c1856573164b4446a44fac31eb02b596 to your computer and use it in GitHub Desktop.
Virt-manager not opening
~ → virt-manager
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/libvirt.py", line 16, in <module>
import cygvirtmod as libvirtmod # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'cygvirtmod'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/virt-manager", line 6, in <module>
from virtManager import virtmanager
File "/usr/share/virt-manager/virtManager/virtmanager.py", line 19, in <module>
from virtinst import BuildConfig
File "/usr/share/virt-manager/virtinst/__init__.py", line 43, in <module>
_set_libvirt_error_handler()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/share/virt-manager/virtinst/__init__.py", line 33, in _set_libvirt_error_handler
import libvirt
File "/usr/lib/python3.13/site-packages/libvirt.py", line 19, in <module>
raise lib_e
File "/usr/lib/python3.13/site-packages/libvirt.py", line 13, in <module>
import libvirtmod # type: ignore
^^^^^^^^^^^^^^^^^
ImportError: libleancrypto.so.1: shared object cannot be dlopen()ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment