安装了以下版本的软件:
[按相同顺序安装]
运行我的程序时,收到此错误消息:
*The import of the numpy version of the _transforms module,
_ns_transforms, failed. This is is either because numpy was
unavailable when matplotlib was compiled, because a dependency of
_ns_transforms could not be satisfied, or because the build flag for
this module was turned off in setup.py. If it appears that
_ns_transforms was not built, make sure you have a working copy of
numpy and then re-install matplotlib. Otherwise, the following
traceback gives more details:
Traceback (most recent call last):
File "C:\Python25\Scripts\_pictsim.py", line 16, in <module>
from pylab import plot, legend, savefig, gca, vlines, figure, title, xlabel, ylabel, semilogy,\
File "C:\Python25\Lib\site-packages\pylab.py", line 1, in <module>
>from matplotlib.pylab import *
File "C:\Python25\Lib\site-packages\matplotlib\pylab.py", line 201, in <module>
>from axes import Axes, PolarAxes
File "C:\Python25\Lib\site-packages\matplotlib\axes.py", line 14, in <module>
>from artist import Artist, setp
File "C:\Python25\Lib\site-packages\matplotlib\artist.py", line 4, in <module>
>from transforms import identity_transform
File "C:\Python25\Lib\site-packages\matplotlib\transforms.py", line 223, in <module>
>from _transforms import Value, Point, Interval, Bbox, Affine
File "C:\Python25\Lib\site-packages\matplotlib\_transforms.py", line 17, in <module>
>from matplotlib._ns_transforms import *
ImportError: DLL load failed: The specified module could not be found.*
存在一些依赖性错误,我该如何解决它们
安装numpy,scipy和matplotlib时说:无法创建密钥和设置密钥值
答案 0 :(得分:0)
通过下载2个dll文件并在system32和syswow64中复制
解决了该问题从另一个类似的stackoverflow问题得到了这个答案
ImportError: DLL load failed: The specified module could not be found