Python windows 64位matplotlib
我已尝试在Windows7 64位上的canopy中运行matplotlib。更新canopy中的软件包后,matplotbib将不起作用。我在package manager中安装的numpy版本是1.8.0-2。这个问题需要帮助。matplotlib版本已安装1.3.1.-3 我运行了matplotlib.org网站上的动画示例代码。 错误Python windows 64位matplotlib,python,numpy,matplotlib,canopy,Python,Numpy,Matplotlib,Canopy,我已尝试在Windows7 64位上的canopy中运行matplotlib。更新canopy中的软件包后,matplotbib将不起作用。我在package manager中安装的numpy版本是1.8.0-2。这个问题需要帮助。matplotlib版本已安装1.3.1.-3 我运行了matplotlib.org网站上的动画示例代码。 错误 ImportError Traceback (most recent call last) C
ImportError Traceback (most recent call last)
C:\Users\HOT-GAZ\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\lib\site-packages\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
174 else:
175 filename = fname
--> 176 exec compile(scripttext, filename, 'exec') in glob, loc
177 else:
178 def execfile(fname, *where):
H:\Nauka\nowy.py in <module>()
1 import numpy as np
----> 2 import matplotlib.pyplot as plt
3 import matplotlib.animation as animation
4
5 def update_line(num, data, line):
C:\Users\HOT-GAZ\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\pyplot.py in <module>()
22
23 import matplotlib
---> 24 import matplotlib.colorbar
25 from matplotlib import _pylab_helpers, interactive
26 from matplotlib.cbook import dedent, silent_list, is_string_like, is_numlike
C:\Users\HOT-GAZ\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\colorbar.py in <module>()
27 import matplotlib.artist as martist
28 import matplotlib.cbook as cbook
---> 29 import matplotlib.collections as collections
30 import matplotlib.colors as colors
31 import matplotlib.contour as contour
C:\Users\HOT-GAZ\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\collections.py in <module>()
21 import matplotlib.artist as artist
22 from matplotlib.artist import allow_rasterization
---> 23 import matplotlib.backend_bases as backend_bases
24 import matplotlib.path as mpath
25 from matplotlib import _path
C:\Users\HOT-GAZ\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\backend_bases.py in <module>()
48
49 import matplotlib.tight_bbox as tight_bbox
---> 50 import matplotlib.textpath as textpath
51 from matplotlib.path import Path
52 from matplotlib.cbook import mplDeprecation
C:\Users\HOT-GAZ\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\textpath.py in <module>()
12 from matplotlib.ft2font import FT2Font, KERNING_DEFAULT, LOAD_NO_HINTING
13 from matplotlib.ft2font import LOAD_TARGET_LIGHT
---> 14 from matplotlib.mathtext import MathTextParser
15 import matplotlib.dviread as dviread
16 from matplotlib.font_manager import FontProperties
C:\Users\HOT-GAZ\AppData\Local\Enthought\Canopy\User\lib\site-packages\matplotlib\mathtext.py in <module>()
60
61 import matplotlib.colors as mcolors
---> 62 import matplotlib._png as _png
63 ####################
64
ImportError: numpy.core.multiarray failed to import
ImportError回溯(最近一次调用)
C:\Users\HOT-GAZ\AppData\Local\enthund\Canopy\App\AppData\Canopy-1.1.0.1371.win-x86\u 64\lib\site packages\IPython\utils\py3compat.pyc在execfile(fname,glob,loc)中
174.其他:
175 filename=fname
-->176 exec编译(脚本文本,文件名,'exec'),在glob,loc中
177其他:
178 def execfile(fname,*其中):
H:\Nauka\nowy.py in()
1作为np导入numpy
---->2将matplotlib.pyplot作为plt导入
3将matplotlib.animation导入为动画
4.
5 def更新行(数字、数据、行):
C:\Users\HOT-GAZ\AppData\Local\enthund\Canopy\User\lib\site packages\matplotlib\pyplot.py in()中的
22
23导入matplotlib
--->24导入matplotlib.colorbar
25来自matplotlib导入_pylab_帮助程序,交互式
26从matplotlib.cbook导入dedent,静默列表,类似字符串,类似numlike
C:\Users\HOT-GAZ\AppData\Local\enthund\Canopy\User\lib\site packages\matplotlib\colorbar.py in()
27导入matplotlib.artist作为martist
28将matplotlib.cbook导入为cbook
--->29将matplotlib.collections导入为集合
30导入matplotlib.colors作为颜色
31将matplotlib.contour导入为等高线
C:\Users\HOT-GAZ\AppData\Local\enthund\Canopy\User\lib\site packages\matplotlib\collections.py in()
21将matplotlib.artist作为艺术家导入
22从matplotlib.artist导入允许光栅化
--->23导入matplotlib.backend_base作为后端_base
24将matplotlib.path导入为mpath
25从matplotlib导入路径
C:\Users\HOT-GAZ\AppData\Local\enthund\Canopy\User\lib\site packages\matplotlib\backend\u base.py in()
48
49导入matplotlib.tight_bbox作为tight_bbox
--->50将matplotlib.textpath导入为textpath
51从matplotlib.path导入路径
52从matplotlib.cbook导入mpldeprication
C:\Users\HOT-GAZ\AppData\Local\enthund\Canopy\User\lib\site packages\matplotlib\textpath.py in()
12从matplotlib.ft2font导入ft2font、紧排默认值、加载无提示
13从matplotlib.FT2导入加载目标灯
--->14从matplotlib.mathtext导入MathTextParser
15将matplotlib.dviread作为dviread导入
16从matplotlib.font_管理器导入FontProperties
C:\Users\HOT-GAZ\AppData\Local\enthund\Canopy\User\lib\site packages\matplotlib\mathtext.py in()
60
61将matplotlib.colors导入为MCOLOR
--->62导入matplotlib.\u png作为\u png
63 ####################
64
ImportError:numpy.core.multiarray导入失败
请更新到Canopy 1.4.0,然后退出Canopy,删除
C:Users\HOT-GAZ\AppData\Local\enthught\Canopy\User
重新启动天篷