python 環境構築

久々にゼロから構築することになったのでメモ。
pythonzを使っています。今回はあえて2.7.6を入れています。
1.run
pythonz install 2.7.6 --configure='--enable-shared' 
2.cppflag等が設定「されていない」ことをechoで確認。
3.download pip
wget https://bootstrap.pypa.io/get-pip.py
4.とりあえず以下pipでinstall(いくつかは自動でインストールされる)。もしダメだったら、自分でダウンロードしてsetup.pyからbuild, install --userする。
Cython (0.21.2)
gensim (0.10.3)
groundhog (0.1.dev0, /home/ksakagu1/tools/GroundHog)
joblib (0.6.4)
matplotlib (1.4.2)
mock (1.0.1)
nltk (3.0.1)
nose (1.3.4)
numpy (1.9.1)
Pillow (2.7.0)
pip (6.0.6)
prettytable (0.7.2)
pygraphviz (1.1)
pyparsing (2.0.3)
python-dateutil (2.4.0)
pytz (2014.10)
PyYAML (3.11)
requests (2.5.1)
scikit-learn (0.15.2)
scipy (0.14.0)
setuptools (11.3.1)
six (1.9.0)
sympy (0.7.6)
Theano (0.6.0)
あとは適宜追加する。

タグ:

python
最終更新:2015年01月20日 10:36