statsmodels installation: No module named 'num

2019-06-23 16:53发布

问题:

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.