[英]statsmodels installation: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
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): 在Windows 10中安装statsmodels
时弹出错误(安装了python 3.6.2):
python setup.py install
Before that, numpy
has been installed: 在此之前,已经安装了numpy
:
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. 没有错误,我认为这是成功的。 statsmodels
的安装仍然存在statsmodels
安装的错误。
I did install MS c++ compiler (2015). 我确实安装了MS c ++编译器(2015)。 Also I installed latest Anaconda (python 3.6.1) and it did not help. 我也安装了最新的Anaconda(python 3.6.1),但没有帮助。 The following is a list of VC++ compilers installed. 以下是已安装的VC ++编译器的列表。
按照此处的说明安装scipy
之后, statsmodels
已成功安装。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.