小编Mor*_*enB的帖子

libpng版本在全新安装IPython时不兼容

我使用本指南为Python安装了"科学堆栈"(OSX 10.9.2,brewed Python 2.7.6,IPython 2.0,matplotlib 1.3.1,libpng 1.6.10).一切都很好看.

但是,试图在IPython的笔记本环境中运行一个简单的情节--pylab=inline给我这个错误:

/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/core/formatters.py:239: FormatterWarning: Exception in image/png formatter: Could not create write struct FormatterWarning,

在终端中它说: libpng warning: Application built with libpng-1.5.17 but running with 1.6.10

据我所知,我没有安装其他libpng.我尝试删除所有以libpngfrom 开头的文件/usr/local/并重新安装所有内容,但无济于事.构建matplotlib(pip install matplotlib)的输出包含:

BUILDING MATPLOTLIB
            matplotlib: yes [1.3.1]
                python: yes [2.7.6 (default, Mar 16 2014, 15:04:47)  [GCC
                        4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.38)]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.8.1]
              dateutil: yes [using dateutil …
Run Code Online (Sandbox Code Playgroud)

macos homebrew ipython

16
推荐指数
3
解决办法
4348
查看次数

标签 统计

homebrew ×1

ipython ×1

macos ×1