Ubuntu安装sciki-learn及环境

http://scikit-learn.org/stable/install.html

安装python-dev

安装这个包,以后安装各种python扩展包,可以省很多事情。

sudo apt-get install python-dev


使用apt-get 安装

只需要下面的几个命令即可,亲测可用。

sudo apt-get install python-numpy
sudo apt-get install python-scipy
sudo apt-get install python-matplotlib

 

If you already have a working installation of numpy and scipy, the easiest way to install scikit-learn is using pip

pip install -U scikit-learn
posted @ 2016-03-25 15:21  大数据从业者FelixZh  阅读(493)  评论(0编辑  收藏  举报