1

不解释,只记录命令行

curl -O http://python-distribute.org/distribute_setup.py

sudo python distribute_setup.py

sudo rm distribute_setup.py

sudo easy_install pip

wget https://distfiles.macports.org/MacPorts/MacPorts-2.1.2.tar.gz
tar zxvf MacPorts-2.1.2.tar.gz
cd MacPorts-2.1.2
./configure
make && sudo make install
cd ..
rm -rf MacPorts-2.1.2*

.profile
export PATH=$PATH:/opt/local/bin
export PATH=$PATH:/opt/local/sbin/

=========

sudo port install py-numpy py-scipy py-matplotlib py-ipython

sudo easy_install-2.6 readline ipython


jhfnetboy
125 声望9 粉丝

enjoy coding!


引用和评论

0 条评论