gpt4 book ai didi

python - 导入 matplotlib ImportError : DLL load failed: The specified procedure could not be found

转载 作者:行者123 更新时间:2023-11-28 17:12:10 25 4
gpt4 key购买 nike

我使用的是 Anaconda Python 发行版:Python 2.7 x64 和 Windows 7 SP1 x64 Ultimate。今天在 conda update --all 导入 matplotlib 后坏了:

ImportError                               Traceback (most recent call last)
<ipython-input-4-6f467123fe04> in <module>()
----> 1 import matplotlib.pyplot

C:\Users\felagund\Anaconda\lib\site-packages\matplotlib\pyplot.py in <module>()
27 from cycler import cycler
28 import matplotlib
---> 29 import matplotlib.colorbar
30 from matplotlib import style
31 from matplotlib import _pylab_helpers, interactive

C:\Users\felagund\Anaconda\lib\site-packages\matplotlib\colorbar.py in <module>()
34 import matplotlib.collections as collections
35 import matplotlib.colors as colors
---> 36 import matplotlib.contour as contour
37 import matplotlib.cm as cm
38 import matplotlib.gridspec as gridspec

C:\Users\felagund\Anaconda\lib\site-packages\matplotlib\contour.py in <module>()
19 import matplotlib.colors as colors
20 import matplotlib.collections as mcoll
---> 21 import matplotlib.font_manager as font_manager
22 import matplotlib.text as text
23 import matplotlib.cbook as cbook

C:\Users\felagund\Anaconda\lib\site-packages\matplotlib\font_manager.py in <module>()
56
57 import matplotlib
---> 58 from matplotlib import afm, cbook, ft2font, rcParams, get_cachedir
59 from matplotlib.compat import subprocess
60 from matplotlib.fontconfig_pattern import (

ImportError: DLL load failed: The specified procedure could not be found.

您对如何回滚到稳定版本或降级什么有任何想法吗?

conda install anacondaconda update anaconda 不更改任何包。我目前的conda版本是4.3.30,matplotlib版本是2.1.0。

最佳答案

我遇到了同样的错误。在我的例子中,微软 CNTK 是罪魁祸首。我卸载了它并解决了问题。平台:Windows 10(64 位) python :5 python :2.x

关于python - 导入 matplotlib ImportError : DLL load failed: The specified procedure could not be found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46867474/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com