Installing Gir1.2-gtk-3.0 On Centos
Solution 1:
The gir1.2-*
packages are for Debian and Debian-derived distributions.
The introspection data that is consumed by the Python bindings is provided by typelib
files, for instance:
/usr/lib64/girepository-1.0/Gtk-3.0.typelib
These files are provided by the library package, on CentOS, alongside the actual shared library. For instance, the Gtk-3.0.typelib
file is provided by the gtk3
package.
The GIR files are XML descriptions of the API that are only used when generating the introspection data; they are provided by the devel
package, on CentOS. For instance, the Gtk-3.0.gir
file is provided by the gtk3-devel
package.
If pygobject cannot find the typelib
file, it's likely that you've installed it in some non-standard location. You must use the GI_TYPELIB_PATH
environment variable to list all the locations where the typelib data might be found, as a colon-separated list of paths.
Post a Comment for "Installing Gir1.2-gtk-3.0 On Centos"