After a whole day struggle, here I finally give up and ask this question. I know this may not be totally appropriate to ask this question but I'm not able to install sklearn on PyCharm and even can't install it using pip.
Config: Windows 10, Pycharm community edition, Python 3.6
Here is a screen of the error:
The error messsage:
running build_clib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying
from distutils
customize MSVCCompiler
Missing compiler_cxx fix for MSVCCompiler
customize MSVCCompiler using build_clib
building 'libsvm-skl' library
compiling C sources
creating build\temp.win32-3.6
creating build\temp.win32-3.6\sklearn
creating build\temp.win32-3.6\sklearn\svm
creating build\temp.win32-3.6\sklearn\svm\src
creating build\temp.win32-3.6\sklearn\svm\src\libsvm
You can download the wheel corresponding to your configuration here and install it with:
pip install some-package.whl
If you have problem to install the wheel read this answer