A patch fix in similarity function where 1D or 2D array is given as argument depending of the Type of numpy Array/Matrix. In Ubuntu is been resolved by itself in MAC is not I guess it is a matter of numpy and pytables versions