安装scikit-learn
sudo yum -y install gcc gcc-c++ numpy python-devel scipy
Linux 下:安装scikit-learn:
50 sudo yum -y install gcc gcc-c++ numpy python-devel scipy
57 python -v
71 yum install python-setuptools
72 easy_install pip
73 pip
74 pip install --user --install-option="--prefix=" -U scikit-learn
87 nosetests --exe sklearn
88 wget http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz
89 tar xvfz Imaging-1.1.7.tar.gz
90 ls
91 cd Imaging-1.1.7
92 ls
93 python setup.py install
94 cd ..
95 ls
96 nosetests --exe sklearn
sudo pip install --upgrade numpy
https://pypi.python.org/packages/source/s/scipy/scipy-0.14.0.tar.gz
tar -xzvf file.tar.gz
sudo yum install python-devel python-nose python-setuptools gcc gcc-gfortran blas-devel lapack-devel atlas-devel
170 sudo pip install --upgrade numpy
171 python
172 sudo pip install --user --install-option="--prefix=" -U scipy
pip uninstall scipy
sudo pip install --upgrade scipy
186 sudo pip uninstall scipy
187 pip install --user --install-option="--prefix=" -U scipy