Python 3 incompatible import