-
Razón del error
Al usar statsmodels, debido a la incompatibilidad de statsmodels y versiones scipy, a menudo se informa el error ImportError: can't import name'ss '.
-
Solución simple y cruda
pip uninstall statsmodels
pip install statsmodels -i https://pypi.tuna.tsinghua.edu.cn/simple
pip uninstall scipy
pip install scipy -i https://pypi.tuna.tsinghua.edu.cn/simple
Puede encontrar, ImportError: no se puede importar el nombre 'lstsq', simplemente reinicie Python.
Referencia
https://docs.scipy.org/doc/scipy-0.19.1/reference/generated/scipy.stats.ss.html
https://stackoverflow.com/questions/54808727/python-cannot-import-name-ss#
Sellos exquisitos en el pasado: NGS avance | avance estadístico | fundamentos py | dibujo py | fundamentos Perl | dibujo R