Mac下用numpy,scipy,matplotlib,ipython进行数据分析:初始化 环境

jhfnetboy

不解释,只记录命令行

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

阅读 5.9k

jhfnetboy
enjoy coding!

enjoy coding!

125 声望
8 粉丝
0 条评论

enjoy coding!

125 声望
8 粉丝
文章目录
宣传栏