> In [11]: from scipy.stats import uniform > > In [12]: U = uniform(loc = 3, scale = 5) > > In [13]: U.mean() > Out[13]: 5.5 > > In [14]: U.moment(1) > Out[14]: 0.5 Might this problem be due to the fact that my ubuntu machine does not support the latest version of scipy.stats?