windows10,64位:
以下命令行安装均在python目录下,对应的whl文件也被我拷贝到python目录下:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
在这里面找对应的whl
1.安装pip
python.exe pip-9.0.1-py2.py3-none-any.whl\pip install pip-9.0.1-py2.py3-none-any.whl
2.安装numpy
python.exe pip-9.0.1-py2.py3-none-any.whl\pip install numpy-1.11.3+mkl-cp27-cp27m-win_amd64.whl
3.安装scipy
python.exe pip-9.0.1-py2.py3-none-any.whl\pip install scipy-0.19.0-cp27-cp27m-win_amd64.whl
4.安装matplotlib
python.exe pip-9.0.1-py2.py3-none-any.whl\pip install matplotlib-1.5.3-cp27-cp27m-win_amd64.whl
这一步出现了一系列问题:原因是安装此需要很多依赖:官方要求Requires numpy, dateutil, pytz, pyparsing, cycler, setuptools, and optionally pillow, pycairo, tornado, wxpython, pyside, pyqt4, ghostscript, miktex, ffmpeg, mencoder, avconv, or imagemagick.
点击对应的进行安装即可。
5.安装scikit-learn
python.exe pip-9.0.1-py2.py3-none-any.whl\pip install scikit_learn-0.18.1-cp27-cp27m-win_amd64.whl