【发布时间】:2012-09-13 03:25:08
【问题描述】:
系统和软件版本:
- OSX 10.7.4
- matplotlib 1.1.1,用于 Python 2.7 和 OSX 10.6,通过 .mpkg 安装。
-
Python 2.7.3,通过 .mpkg 安装。
import matplotlib.pylabTraceback(最近一次调用最后): 文件“”,第 1 行,在 文件“/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7.egg/matplotlib/pylab.py”,第 265 行,在 从 matplotlib.pyplot 导入 * 文件“/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7.egg/matplotlib/pyplot.py”,第 97 行,在 new_figure_manager, draw_if_interactive, _show = pylab_setup() pylab_setup 中的文件“/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7.egg/matplotlib/backends/init.py”,第 25 行 globals(),locals(),[backend_name]) 文件“/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7.egg/matplotlib/backends/backend_macosx.py”,第 21 行,在 从 matplotlib.backends 导入 _macosx ImportError:dlopen(/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7.egg/matplotlib/backends/_macosx.so,2):未加载库:/System/Library/Frameworks/CoreText .framework/版本/A/CoreText 引用自:/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7.egg/matplotlib/backends/_macosx.so 原因:找不到图片
【问题讨论】:
标签: python osx-snow-leopard matplotlib