Skip to main content
2 of 2
added 63 characters in body
einpoklum
  • 11k
  • 23
  • 91
  • 169

meld won't run on Cygwin: AttributeError: module 'gi' has no attribute 'require_version

I'm trying to run meld on Cygwin, after having installed it, and circumvented the "no module named 'meld'" issue by forcing it to use Python 3.6. Now, I get:

$ meld
Traceback (most recent call last):
  File "/usr/bin/meld", line 341, in <module>
    check_requirements()
  File "/usr/bin/meld", line 193, in check_requirements
    gi.require_version("Gtk", "3.0")
AttributeError: module 'gi' has no attribute 'require_version'

Where do I get gi from, and what do I do to get meld to work?

Version info:

  • Windows: Version 10.0.19045.5131
  • Cygwin: Updated 2024-12-05
  • meld: 3.18.0-1
  • Python3: 3.9.16
  • Python3.6: 3.6.15

I can provide additional information as relevant, just ask in a comment.

einpoklum
  • 11k
  • 23
  • 91
  • 169