I want to view a pdf document by embedding it in Python using the gi repository. I am trying to follow the code here which is
#!/usr/bin/env python from gi.
You need a newer version of Evince.
This is working for me in latest Evince, 3.3.3.1, using Fedora 17 (rawhide), and is not working in Evince 3.2.1 using Fedora 16.
Maybe you can compile Evince to get the bindings working.