需要的包:
系统中:BLAS,LAPACK
Python中:pip,numpy,scipy,scikit-learn,jieba
CentOS/RHEL/Fedora
sudo yum install blas lapack
# 如果安装成功,断掉ssh再开,重启shell环境(不是重启机器!)
sudo pip install --upgrade numpy scipy jieba scikit-learn
Debian/Ubuntu
sudo apt-get install python-sklearn