![](/img/trans.png)
[英]Python: ImportError: DLL load failed: The specified module could not be found
[英]ImportError: DLL load failed: The specified module could not be found in python
from matplotlib import pyplot as plt
ImportError Traceback (most recent call last)
<ipython-input-3-99ba79ecbbfb> in <module>
----> 1 from matplotlib import pyplot as plt
c:\users\user\appdata\local\programs\python\python37\lib\site-packages\matplotlib\__init__.py in <module>
172
173
--> 174 _check_versions()
175
176
c:\users\user\appdata\local\programs\python\python37\lib\site-packages\matplotlib\__init__.py in _check_versions()
157 # Quickfix to ensure Microsoft Visual C++ redistributable
158 # DLLs are loaded before importing kiwisolver
--> 159 from . import ft2font
160
161 for modname, minver in [
ImportError: DLL load failed: The specified module could not be found.
嘗試降級到 matplotlib 3.0.3
conda uninstall matplotlib
conda install matplotlib==3.0.3
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.