saving . . . saved Error in installing while importing matplotlib has been deleted. Error in installing while importing matplotlib has been hidden .
Error in installing while importing matplotlib
Title
Question
In [2]: import matplotlib
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-0484cd13f94d> in <module>
----> 1 import matplotlib

c:\\users\\pgm23\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\matpl
otlib\\__init__.py in <module>
    198
    199
--> 200 _check_versions()
    201
    202

c:\\users\\pgm23\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\matpl
otlib\\__init__.py in _check_versions()
    192             ("pyparsing", "2.0.1"),
    193     ]:
--> 194         module = importlib.import_module(modname)
    195         if LooseVersion(module.__version__) < minver:
    196             raise ImportError("Matplotlib requires {}>={}; you have {}"

c:\\users\\pgm23\\appdata\\local\\programs\\python\\python36-32\\lib\\importlib\\__init__.
py in import_module(name, package)
    124                 break
    125             level += 1
--> 126     return _bootstrap._gcd_import(name[level:], package, level)
    127
    128

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

In [3]:

Python Using-the-plot-command-interactively 00-01 min 0-10 sec 21-06-19, 4:12 p.m. shreeahd

Answers:

Installing the Visual C++ Redistributable for Visual Studio 2015 from the link given below may solve the problem.</span>

https://www.microsoft.com/en-US/download/details.aspx?id=48145

Please let us know if you face any problem.

Thanks.
21-06-19, 4:42 p.m. iakashchavan


Log-in to answer to this question.