I think we maybe need to do a cleanup after installing pycairo (and possibly graphite too). Maybe we could do that stuff in a temporary dir, and remove the entire dir afterwards?