fix python import error on some architectures
fix python import error on some architectures