Cannot run virt-manager

virt-manager is giving the following error when launched from terminal:

Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/gi/importer.py", line 137, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3.9/site-packages/gi/module.py", line 257, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib/python3.9/site-packages/gi/module.py", line 109, in __init__
repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Atk', version '1.0' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/virt-manager", line 8, in <module>
virtmanager.runcli()
File "/usr/share/virt-manager/virtManager/virtmanager.py", line 267, in runcli
main()
File "/usr/share/virt-manager/virtManager/virtmanager.py", line 191, in main
leftovers = _import_gtk(leftovers)
File "/usr/share/virt-manager/virtManager/virtmanager.py", line 58, in _import_gtk
from gi.repository import Gtk
File "/usr/lib/python3.9/site-packages/gi/importer.py", line 139, in load_module
raise ImportError(e)
ImportError: Typelib file for namespace 'Atk', version '1.0' not found

inxi -Faz

PS: The application is as it came pre-installed in the KDE Dr460nized Gaming Edition, nothing else installed on top of it.

I can't reproduce this on my own installation :eyes:
Anyway it looks like something is missing. Is this installed on yours?

extra/atk 2.36.0-1 [installed]
Interface definitions of accessibility infrastructure
1 Like

Yes, atk is installed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.