Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14331

Matplotlib ImportError: DLL load failed while importing _cext: The specified module could not be found

$
0
0

Here is the error I am encountering with MatplotLib:

PS D:\Anto_Local_Files\py\Dam Safety>  d:; cd 'd:\Anto_Local_Files\py\Dam Safety'; & 'c:\Users\acer\AppData\Local\Microsoft\WindowsApps\python3.11.exe''c:\Users\acer\.vscode\extensions\ms-python.debugpy-2024.2.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher''50630''--''d:\Anto_Local_Files\py\Dam Safety\Dams with percent storage plot.py'Traceback (most recent call last):  File "d:\Anto_Local_Files\py\Dam Safety\Dams with percent storage plot.py", line 2, in <module>    import matplotlib.pyplot as plt  File "C:\Users\acer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\matplotlib\__init__.py", line 272, in <module>    _check_versions()  File "C:\Users\acer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\matplotlib\__init__.py", line 266, in _check_versions    module = importlib.import_module(modname)             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2288.0_x64__qbz5n2kfra8p0\Lib\importlib\__init__.py", line 126, in import_module    return _bootstrap._gcd_import(name[level:], package, level)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "C:\Users\acer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\kiwisolver\__init__.py", line 8, in <module>    from ._cext import (ImportError: DLL load failed while importing _cext: The specified module could not be found.

Viewing all articles
Browse latest Browse all 14331

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>