statsmodels安装:numpy.distutils中没有名为"numpy.distutils._msvccompiler"的模块;从distutils尝试 [英] statsmodels installation: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
问题描述
这似乎是一个常见的问题,但是所有答案似乎都没有帮助.在Windows 10(已安装python 3.6.2)中安装statsmodels
时,错误弹出:
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
在此之前,已安装numpy
:
python numpy install
没有错误,我认为这是成功的.但是statsmodels
的安装在statsmodels
的安装中仍然有错误.
There was no error and I assume it was a success.But the installation of statsmodels
still have the error with statsmodels
installation.
我确实安装了MS c ++编译器(2015年).我也安装了最新的Anaconda(python 3.6.1),但没有帮助.以下是已安装的VC ++编译器的列表.
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.
推荐答案
After installing the scipy
following the instruction here , the statsmodels
was installed successfully.
这篇关于statsmodels安装:numpy.distutils中没有名为"numpy.distutils._msvccompiler"的模块;从distutils尝试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!