安装scikit-learn

  1. sudo yum -y install gcc gcc-c++ numpy python-devel scipy


Linux 下:安装scikit-learn:
 
  1.  50  sudo yum -y install gcc gcc-c++ numpy python-devel scipy
  2.    57  python -v
  3.    71  yum install python-setuptools
  4.    72  easy_install pip
  5.    73  pip
  6.    74  pip install --user --install-option="--prefix=" -U scikit-learn
  7.    87  nosetests --exe sklearn
  8.    88 wget http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz
  9.    89  tar xvfz Imaging-1.1.7.tar.gz
  10.    90  ls
  11.    91  cd Imaging-1.1.7
  12.    92  ls
  13.    93  python setup.py install
  14.    94  cd ..
  15.    95  ls
  16.    96  nosetests --exe sklearn
  1.  sudo pip install --upgrade numpy

https://pypi.python.org/packages/source/s/scipy/scipy-0.14.0.tar.gz
  1. tar -xzvf file.tar.gz 
  2. sudo yum install python-devel python-nose python-setuptools gcc gcc-gfortran  blas-devel lapack-devel atlas-devel
  1.   170   sudo pip install --upgrade numpy
  2.   171  python
  3.   172  sudo pip install --user --install-option="--prefix=" -U scipy
  1.  pip uninstall scipy
  2. sudo pip install --upgrade scipy
  1. 186  sudo pip uninstall scipy
  2.   187   pip install --user --install-option="--prefix=" -U scipy





原文地址:https://www.cnblogs.com/iathena/p/27494e87359b0e0bb3b7fd277b390ba7.html