Check that python and perl are sane