CentOs下安裝Crab

  1. 因爲好多軟件在centos中yum下的名字與Ubuntu的apt-get不同,所以需要使用yum查找對應的軟件包名,可以用 yum search keyword這樣的命令來進行搜索
    CentOS Yum 命令詳解 http://www.blogjava.net/jvict/articles/305149.html
  2. 我們總共需要安裝如下這些部件來搭建環境
    numpy, scipy, setuptools, scikits.learn, python 和 C++ 編譯器

  3. 首先安裝numpy,scipy
    yum install numpy scipy gcc gcc-c++ python-devel

  4. 如果你在使用Python 2 >= 2.7.9或者Python 3 > 3.4(因爲python 2 和 python 3有些不同,詳見),pip已經被安裝,但你需要更新下pip。

  5. 安裝pip,在這裏下載get-pip.py.
  6. 然後python get-pip.py
  7. 3.

References:

  1. pip installation https://pip.pypa.io/en/latest/installing/
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章