python 3 compatibility for arch users