Error importing scikit-learn modules

Solution 1:

You probably don't use Numpy+MKL, but only Numpy.

I had the same problem and reinstalling Numpy with MKL

pip install --upgrade --force-reinstall "numpy‑1.16.3+mkl‑cp37‑cp37m‑win32.whl"

fixed it.

Note: update the file to the latest version, possibly 64bit - see the list of available Windows binaries

Solution 2:

Problem was with scipy/numpy install. I'd been using the (normally excellent!) unofficial installers from http://www.lfd.uci.edu/~gohlke/pythonlibs/. Uninstall/re-install from there made no difference, but installing with the official installers (linked from http://www.scipy.org/install.html) did the trick.