python - pandas looks for scikits.statsmodels instead of statsmodels -
i have: statsmodels 0.5.0 (formally known scikits.statsmodels) pandas 0.12.0. (all installed source)
i error:
file "/home/username/.local/python27/lib/python2.7/site-packages/pandas-0.12.0-py2.7-linux-x86_64.egg/pandas/stats/ols.py", line 53, in __init__ import scikits.statsmodels.api sm importerror: no module named scikits.statsmodels.api
why pandas still looking scikits.statsmodels? should install old version of scikits.statsmodels parallel statsmodels 0.5.0?
version 0.12 first tries import statsmodels
library , if fails, pandas fall scikits
module. here piece of code tries that:
try: import statsmodels.api sm except importerror: import scikits.statsmodels.api sm
if type in interpreter:
import statsmodels.api sm
what error get?
Comments
Post a Comment