最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

matplotlib - I am making a project and an error of matplotlob library is occuring - Stack Overflow

programmeradmin3浏览0评论

Exception has occurred: ImportError DLL load failed while importing _cext: The specified module could not be found. File "C:\Users\KTC\Desktop\Car price\Car Price Prediction.py", line 4, in import matplotlib.pyplot as plt ImportError: DLL load failed while importing _cext: The specified module could not be found.

I was creating car price prediction project and all libraries were installed but this error occured

Exception has occurred: ImportError DLL load failed while importing _cext: The specified module could not be found. File "C:\Users\KTC\Desktop\Car price\Car Price Prediction.py", line 4, in import matplotlib.pyplot as plt ImportError: DLL load failed while importing _cext: The specified module could not be found.

I was creating car price prediction project and all libraries were installed but this error occured

Share Improve this question asked Nov 19, 2024 at 14:43 The DevilThe Devil 1 2
  • 2 This question is similar to: matplotlib ImportError: DLL load failed while importing _cext. If you believe it’s different, please edit the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem. – BigBen Commented Nov 19, 2024 at 14:49
  • 1 Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Nov 19, 2024 at 18:47
Add a comment  | 

1 Answer 1

Reset to default 0

the error is due to lack of Microsoft Visual C++ Redistributable package on your system.

run this code in terminal:

pip install msvc-runtime

In addition you can check official Microsoft website :

https://learn.microsoft/en-us/cpp/windows/latest-supported-vc-redist

发布评论

评论列表(0)

  1. 暂无评论