fixes python issue with travis

Attempt at fixing https://travis-ci.org/n1k0/casperjs/jobs/14270183