相关疑难解决方法(0)

Matplotlib在Mac OSX 10.8 Mountain Lion上安装失败

我试图在我的MacBook Air上安装matplotlib,但它总是给我这个错误信息:

 Processing matplotlib-1.1.1_notests.tar.gz
 Running matplotlib-1.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3jFpXK/matplotlib-1.1.1/egg-dist-tmp-jC7QY3
    basedirlist is: []
    ============================================================================
    BUILDING MATPLOTLIB
                matplotlib: 1.1.1
                    python: 2.7.2 (default, Jun 20 2012, 16:23:33)  [GCC 4.2.1
                            Compatible Apple Clang 4.0
                            (tags/Apple/clang-418.0.60)]
                  platform: darwin

    REQUIRED DEPENDENCIES
                     numpy: 1.6.1
                 freetype2: found, but unknown version (no pkg-config)
                            * WARNING: Could not find 'freetype2' headers in any
                            * of '.', './freetype2'.

    OPTIONAL BACKEND DEPENDENCIES
                    libpng: found, but unknown version (no pkg-config)
                            * Could not find 'libpng' headers in any of '.'
                   Tkinter: Tkinter: …
Run Code Online (Sandbox Code Playgroud)

matplotlib

26
推荐指数
4
解决办法
2万
查看次数

无法使用VirtualEnv在OSX 10.8.4上安装matplotlib

我尝试了网络上可用的每个链接,但我仍然收到以下错误:

Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [1.4.x]
                python: yes [2.7.5 (default, Jul 28 2013, 07:27:04)  [GCC
                        4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.7.1]
              dateutil: yes [dateutil was not found. It is required for date
                        axis support. pip/easy_install may attempt to
                        install it after matplotlib.]
               tornado: yes [tornado was not found. It is required for the
                        WebAgg backend. pip/easy_install may attempt to
                        install it after …
Run Code Online (Sandbox Code Playgroud)

python matplotlib virtualenv osx-mountain-lion

3
推荐指数
1
解决办法
4013
查看次数