码迷,mamicode.com
首页 > 编程语言 > 详细

Mac下安装eclipse+python+pydev+numpy+matplotlib

时间:2015-09-10 12:35:24      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:

*本人亲测是成功的安装过程

1.更新Mac系统默认低版本的python2.7.请参见这篇文章:http://jingyan.baidu.com/article/14bd256e39b63dbb6d261289.html

2.安装eclipse, pydev请参见这篇博客:http://blog.csdn.net/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下安装eclipse+python+pydev+numpy+matplotlib

标签:

原文地址:http://www.cnblogs.com/changefuture/p/4797107.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!