For some reason, I had to change this to statsmodels.__version__