statsmodels installation: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

[亡魂溺海] 提交于 2019-12-10 13:28:25

问题


It seems to be a common problem but none of the answers seems help. The error is popping up when installing statsmodels with in Windows 10 (python 3.6.2 installed):

python setup.py install

Before that, numpy has been installed:

python numpy install

There was no error and I assume it was a success.But the installation of statsmodels still have the error with statsmodels installation.

I did install MS c++ compiler (2015). Also I installed latest Anaconda (python 3.6.1) and it did not help. The following is a list of VC++ compilers installed.


回答1:


After installing the scipy following the instruction here , the statsmodels was installed successfully.



来源:https://stackoverflow.com/questions/45492810/statsmodels-installation-no-module-named-numpy-distutils-msvccompiler-in-num

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!