ぱんでも

にうむ

FreeBSD9.1にpythonbrew経由でpython3.3.0を入れてscipyを投入

思いのほか面倒臭かったのでメモ.

下準備(ここでえらく躓いた)

cd /usr/ports/math/blas
make install clean
cd /usr/ports/math/lapack
make install clean
sudo ln -s /usr/local/bin/gfortran46 /usr/local/bin/gfortran

pythonbrew導入(環境パスの記述は省略)

curl -kL http://xrl.us/pythonbrewinstall | bash
pythonbrew install 3.3.0
pythonbrew switch 3.3.0

numpyとscipy

git clone git://github.com/numpy/numpy.git ~/numpy
cd ~/numpy/
python setup.py install
git clone git://github.com/scipy/scipy.git ~/scipy
cd ~/scipy
python setup.py install