sudo apt update sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0 Use code with caution. sudo dnf install pygobject3 python3-devel . Arch Linux: sudo pacman -S python-gobject . 3. macOS Installation
pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-python-gobject Use code with caution. python gtk download
Use Homebrew and pip3 install PyGObject after installing dependencies 1. Windows Installation (The MSYS2 Method) sudo apt update sudo apt install python3-gi python3-gi-cairo