On 4/29/20 4:31 PM, Paolo Galtieri wrote:
Traceback (most recent call last):
File "/usr/sbin/simple-backup-config", line 36, in <module>
import gnome.ui
ImportError: No module named gnome.ui
In F30 this module is provided by the package
gnome-python2-gnome-2.28.1-23.fc29.x86_64
Is there a corresponding package for python 3? I know python 2 is end
of life, and I know I need to port sbackup to python 3 going forward,
but I don't know what the python 3 equivalent to the gnome-python2-gnome
package.
With python 3 there isn't a special package for python. It uses the
typelib bindings, so that any language can access the libraries. I
don't know what happened with gnome.ui, but as an example gtk went from:
import gtk
to:
from gi.repository import Gtk