The TextTest development tools use the GUI toolkit PyGObject. Follow the PGObject installation instructions for your linux variant.