Answer the question
In order to leave comments, you need to log in
What is the error when importing matplotlib?
When importing matplotlib, an error is thrown:
Traceback (most recent call last):
File "D:/Dropbox/Modeling/ttt/aaa", line 4, in <module>
import matplotlib.pyplot as plt
File "D:\Anaconda3\lib\site-packages\matplotlib\pyplot.py", line 36, in <module>
from matplotlib.figure import Figure, figaspect
File "D:\Anaconda3\lib\site-packages\matplotlib\figure.py", line 35, in <module>
from matplotlib import _image
File "D:\Anaconda3\lib\site-packages\matplotlib\_image.py", line 7, in <module>
__bootstrap__()
File "D:\Anaconda3\lib\site-packages\matplotlib\_image.py", line 6, in __bootstrap__
imp.load_dynamic(__name__,__file__)
File "D:\Anaconda3\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: Не найден указанный модуль.
Answer the question
In order to leave comments, you need to log in
There can be many reasons. To get started, try simply displaying the name of the library that matplotlib is trying to import without success. Maybe some additional package is simply missing.
I don't know how things are with Anaconda, never used it, but I had a problem importing matplotlib when I mistakenly installed an old version of Numpy that didn't work on MKL. After updating Numpy, everything worked.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question