*本人亲测是成功的安装过程
1.更新Mac系统默认低版本的python2.7.请参见这篇文章:http://jingyan.baidu.com/article/14bd256e39b63dbb6d261289.html
2.安装eclipse, pydev请参见这篇博客:http://blog.youkuaiyun.com/jjunjoe/article/details/8517024 或者 http://www.94cto.com/index/Article/content/id/115879.html
3.安装numpy:
a,安装brew, 在终端中输入: curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1
b,安装Setuptool,打开http://pypi.python.org/pypi/setuptools 可以查看安装信息,具体为在终端中输入:curl https://bootstrap.pypa.io/ez_setup.py -o - | python
c,安装pip,终端输入 sudo easy_install pip
d,安装numpy, pip install -U numpy
4. 安装matplotlib
a,在终端输入 brew install pkg-config
b, 在终端输入 brew install freetype
c, 在终端输入 export CFLAGS=-I/usr/X11/include/freetype2
d. 在终端输入:pip install matplotlib
安装过程有什么问题,欢迎交流。
本文详细介绍了如何在Mac系统上更新Python、安装Eclipse、pydev、numpy、matplotlib等常用软件的步骤。包括更新Python版本、安装Eclipse和pydev插件、安装numpy、matplotlib所需依赖包等操作。
1347

被折叠的 条评论
为什么被折叠?



