- 因爲好多軟件在centos中yum下的名字與Ubuntu的apt-get不同,所以需要使用yum查找對應的軟件包名,可以用 yum search keyword這樣的命令來進行搜索
CentOS Yum 命令詳解 http://www.blogjava.net/jvict/articles/305149.html 我們總共需要安裝如下這些部件來搭建環境
numpy, scipy, setuptools, scikits.learn, python 和 C++ 編譯器首先安裝numpy,scipy
yum install numpy scipy gcc gcc-c++ python-devel
如果你在使用Python 2 >= 2.7.9或者Python 3 > 3.4(因爲python 2 和 python 3有些不同,詳見),pip已經被安裝,但你需要更新下pip。
- 安裝pip,在這裏下載get-pip.py.
- 然後
python get-pip.py
3.
References:
- pip installation https://pip.pypa.io/en/latest/installing/