Fixed python import without numpy