在mac下安装matplotlib,xlrd
生活随笔
收集整理的这篇文章主要介绍了
在mac下安装matplotlib,xlrd
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
brew install freetype
brew install libpngsudo 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
#图形显示模块 sudo pip install matplotlib
输入以下命令来测试是否安装成功: python -c 'import matplotlib.pyplot as pyplot; pyplot.pie([1,2,3]); pyplot.show()'
#读取xls文件(Excel)模块
sudo pip install xlrd
转载于:https://www.cnblogs.com/ryuham/p/4234526.html
总结
以上是生活随笔为你收集整理的在mac下安装matplotlib,xlrd的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 移动开发工程师面试题集:Android
- 下一篇: Unity插件之NGUI学习(8)——