Kit*_*Kit 9 python macos matplotlib
我刚安装numpy
和matplotlib
我的OS X 10.6.6.我有来自Python.org的Python 2.7.当我这样做时import matplotlib.pyplot
,我收到以下错误:
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so: no matching architecture in universal wrapper
Run Code Online (Sandbox Code Playgroud)
我错过了什么吗?我该如何解决?
更新1(2011年3月25日):
matplotlib
交互式绘图系统使用Tcl/Tk/Tkinter提供GUI.我安装了64位Python,但我错过了Python.org下载页面link1,link2中的以下警告:
因此,我删除了64位版本并安装了32位版本.我建议保持这个问题,以防万一64位Tcl/Tk/Tkinter出现在Python 2.7中.
归档时间: |
|
查看次数: |
6840 次 |
最近记录: |