GTK4PythonTutorial icon indicating copy to clipboard operation
GTK4PythonTutorial copied to clipboard

[Documentation] How to install python-gtk4?

Open rubyFeedback opened this issue 3 years ago • 1 comments

Could your guide briefly show how to install it e. g. the pip command?

I only had it for python gtk3 I think. I am so lazy, I could google but I prefer it in the guide if that is possible.

rubyFeedback avatar Jul 16 '22 20:07 rubyFeedback

The package you're looking for is called pygobject. There is a pip package https://pypi.org/project/PyGObject/. But if you plan to install to your system (instead of a venv or something) you should use your system package manager to get it. Its easy in Arch Linux: pacman -S python-gobject gtk4 libadwaita. Other distros I'm not sure.

Taiko2k avatar Jul 16 '22 22:07 Taiko2k