My exact issue was that Python was 32 bit ( Python38-32 ), some old project, and it wasn't working with the latest installation of GTK. I was also getting the same error. Once i updated python version to 3.11, reinstalled GTK and set PATH To point to C:\Program Files\GTK3-Runtime Win64\bin it worked ( notice that GTK also has to match the python version )