statsmodels installation: No module named 'numpy.distutils._msvccompiler' in numpy.distuti


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.

<a href="https://i.stack.imgur.com/ZqUeO.jpg" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/ZqUeO.jpg" data-original="https://i.stack.imgur.com/ZqUeO.jpg" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>


After installing the scipy following the instruction <a href="https://stackoverflow.com/questions/28190534/windows-scipy-install-no-lapack-blas-resources-found" rel="nofollow">here</a> , the statsmodels was installed successfully.


  • Terraform: How to get a boolean from interpolation?
  • why does my android spinner display the radio button in the textview?
  • Transforming Calendar Quarter to Financial Quarter
  • exception thrown while building the java application using netbeans
  • Replacing ui router 0.2 with 1.0.0
  • Preventing Internet-accessing-method from delaying a toast popup
  • How to pass a bitfield (by reference) to a function?
  • Reading large text file very slow
  • password_hash() not working [closed]
  • Texture streaming in DirectX11, Immutable vs Dynamic
  • Existing data serialized as hash produces error when upgrading to Rails 5
  • JSF validateLength question
  • Coin change recursive approach
  • How to read contents of a directory recursively in Linux Kernel?
  • Bulk loading into PostgreSQL from a remote client
  • How to print every 4th column up to nth column and from (n+1)th column to last using awk?
  • Enable CORS on Tomcat 8.0.30
  • integrity constraint violation: NOT NULL check constraint
  • SyntaxError: expected expression, got '.'
  • “proxy_pass” cannot have URI part in location given by regular expression
  • didSelectItemAtIndexPath of UICollectionView inside of a UIScrollView is not getting called
  • Tensorflow crash using tf.train.Saver() with GPU
  • I need a PHP mySQL Login script that directs user to specific URL based on username and password
  • Create .java file and compile it to a .class file at runtime
  • How to process remote XML files with XSLT
  • Unable to run testNG tests from maven
  • Find all parks for a given zipcode with google maps
  • How to control xtics in gnuplot
  • 2d barcode reader Java ME sdk
  • Splitting ReportLab table across PDF page (side by side)?
  • Facebook Error (#200) The user hasn't authorized the application to perform this action (PHP)
  • How to use Typescript with libraries like Ampersand.js that parse configs to build prototypes
  • Java Collections.shuffle() weird behaviour [closed]
  • How to load dynamic images in custom ListView
  • Excel File upload in asp.net using SqlBulkCopy
  • Getting the type of a “Type” in C# reflection
  • What is the difference between dynamically creating a script tag and statically embed a script tag?
  • getting the class name of an HTML tag using XPATH
  • Using redis as an LRU cache for postgres
  • How to mutate multiple variables without repeating codes?