2012年6月4日

在Mac上安裝numpy, scipy




Environment:


Hardware: dual-core 64-bit penryn
OS X: 10.6.8
Kernel Architecture: i386
Xcode: 3.2.5
python 2.7 / pip 1.1




install numpy
pip install numpy


install fortran compiler
sudo brew install gfortran
這邊linking可能會遇到permission deny
sudo chmod a+w 暫時修改
sudo chmod 755/ sudo chown root


install scipy
sudo pip install -e git+https://github.com/scipy/scipy#egg=scipy-dev