zoukankan      html  css  js  c++  java
  • Mac下安装eclipse+python+pydev+numpy+matplotlib

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

    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

     安装过程有什么问题,欢迎交流。

  • 相关阅读:
    cocos2d多语言互调之一---lua调java
    vue 组件
    封装 XMLHttpRequest
    Ajax 请求
    jq 显示和隐藏 计时器
    jq 动画DOM及其操作
    jq 表单提交
    jq 事件绑定
    js 一些实用的封装和兼容
    工厂、原型、混合模式
  • 原文地址:https://www.cnblogs.com/changefuture/p/4797107.html
Copyright © 2011-2022 走看看