user5717949
user5717949

Reputation: 87

Unable to import ss function from scipy.stats.stats

Error:

File "/usr/lib/python2.7/dist-packages/statsmodels/regression/linear_model.py", line 36, in <module>
    from scipy.stats.stats import ss
ImportError: cannot import name ss

I tried upgrading scipy and statsmodels but it was still not working.

Upvotes: 3

Views: 3470

Answers (1)

dwmoreau
dwmoreau

Reputation: 11

I ran into the same problem. I upgraded statsmodels and that fixed the problem, maybe they updated their code to fix the error recently.

Upvotes: 1

Related Questions