brew install freetype brew install libpng sudo easy_install pip#图形显示模块 sudo pip install matplotlib输入以下命令来测试是否安装成功:
python -c 'import matplotlib.pyplot as pyplot; pyplot.pie([1,2,3]); pyplot.show()'
#读取xls文件(Excel)模块sudo pip install xlrd