Skip to content

Instantly share code, notes, and snippets.

@elleryq
Created November 17, 2014 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elleryq/404b5b5691a1561b3c76 to your computer and use it in GitHub Desktop.
Save elleryq/404b5b5691a1561b3c76 to your computer and use it in GitHub Desktop.
KaggleAux (https://github.com/agconti/KaggleAux) 安裝步驟。

我是用 virtualenv,不用也可以,就忽略前3個步驟即可,virtualenv 好處是可以不用搞亂系統環境 (不安裝到 /usr, /usr/local)。

步驟:

  1. virtualenv kaggleaux_env
  2. cd kaggleaux_env
  3. source bin/activate
  4. wget https://bootstrap.pypa.io/get-pip.py
  5. python get-pip.py
  6. sudo apt-get install libblas-dev liblapack-dev gfortran :這是為了 scipy 而裝的
  7. git clone https://github.com/agconti/KaggleAux.git
  8. cd KaggleAux
  9. pip install -U distribute
  10. pip install -r requirements.txt

進 python,輸入 import kaggleaux as ka ,ok!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment