Installing Shumate is not enough to use it in Python/Gtk4 app

Hi folks!

I need libshumate to use in a Python/Gtk4 app. I’ve cloned libshumate repository, build and install it in my system but I get this error when I try to use it:

File "/home/roman/workspace/PyOpenTracks/buildir/buildir/testdir/share/pyopentracks/data/pyopentracks/views/layouts/", line 23, in <module>
    from gi.repository import Gtk, Gdk, GObject, Shumate
  File "/usr/lib/python3/dist-packages/gi/", line 136, in load_module
    raise ImportError('cannot import name %s, '
ImportError: cannot import name Shumate, introspection typelib not found

What I do is:

import gi

gi.require_version('Gtk', '4.0')
gi.require_version('Shumate', '1.0')

What I need to do to have libshumate ready to use in my system.

PD/ Using flatpak I have no problems running the app so I guess I need to install/configure it in my system.


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