Finally, I managed to fix the issue myself.
I found this bug report describing a similar problem: https://bugzilla.redhat.com/show_bug.cgi?id=1636626 - based on that, I: 1. uninstalled `apt purge nautilus-extension-fma nautilus-image- converter` (to make sure none of the extensions are calling Python2. after this step, I noticed another error (that previously did not appear): `(org.gnome.Nautilus:15062): Nautilus-Python-WARNING **: 05:32:20.623: g_module_open libpython failed: /usr/lib/libpython3.8.so.1.0: cannot open shared object file: No such file or directory` 2. I fixed the error by: `sudo ln -s /usr/lib/aarch64-linux- gnu/libpython3.8.so.1.0 /usr/lib/` ** Bug watch added: Red Hat Bugzilla #1636626 https://bugzilla.redhat.com/show_bug.cgi?id=1636626 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to pygobject in Ubuntu. https://bugs.launchpad.net/bugs/1980735 Title: calling import _gi causes ImportError _gi.cpython-38-aarch64-linu- gnu.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/1980735/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs