while importing matplotlib am getting an error like
error:-ImportError: DLL load failed while importing _cext: The specified module could not be found
import matplotlib.pyplot
Traceback (most recent call last):
File “”, line 1, in
File “C:UsersWinAppDataLocalProgramsPythonPython312Libsite-packagesmatplotlib_init_.py”, line 276, in
check_versions()
File “C:UsersWinAppDataLocalProgramsPythonPython312Libsite-packagesmatplotlib_init.py”, line 270, in check_versions
module = importlib.import_module(modname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:UsersWinAppDataLocalProgramsPythonPython312Libimportlib_init.py”, line 90, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:UsersWinAppDataLocalProgramsPythonPython312Libsite-packageskiwisolver_init.py”, line 8, in
from ._cext import (
ImportError: DLL load failed while importing _cext: The specified module could not be found.
i had tried python 3.12 and 3.11 and also 3.10
can any one help me fix this error
sai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.