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

Exception has occurred: ImportErrorDLL load failed while importing _cext: The specified module could n

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743734597a4498024.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信