首页 > 代码库 > centos安装scikit-learn

centos安装scikit-learn

安装numpy 和 scipy

sudo yum install numpy.x86_64
sudo yum install scipy.x86_64

安装pip

# wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate
# tar -xzvf pip-1.5.4.tar.gz# cd pip-1.5.4# python setup.py install

输入pip如果能看到信息证明安装成功。

安装scikit-learn

pip install -U scikit-learn

看到Successfully installed scikit-learn说明安装成功。

centos安装scikit-learn