title: How to install PyGObject in Anaconda under Windows 10?
body: <p>I tried to run this simple code, which is about GUI programming in python usinh <a href="https://python-gtk-3-tutorial.readthedocs.io/en/latest/introduction.html" rel="nofollow noreferrer">Python GTK+ 3</a>:</p>
  
  <pre><code>import gi
  gi.require_version('Gtk', '3.0')
  from gi.repository import Gtk
  
  win = Gtk.Window()
  win.connect("destroy", Gtk.main_quit)
  win.show_all()
  Gtk.main()
  </code></pre>
  
  <p>I have anaconda 5.2 installed with Python 3.6 under Windows 10, and I get this error:</p>
  
  <pre><code>    import gi
  ImportError: No module named 'gi'
  </code></pre>
  
  <p>Even if I install anaconda 4.2 with Python 3.5 I get the same error.
  I could not figure out how to install <code>gi</code>, which is apparently part of <code>PyGObject</code>.
  using <code>pip install PyGObject</code> results in an error:</p>
  
  <pre><code> Failed building wheel for PyGObject
  </code></pre>
  
  <p>Can anybody help?</p>