fixed cpairwise2 import issue under python3