I have a python program that runs in a server continuously and it puts some data into MYSQL dataBase and load some. It is also using TCP/IP connection. the problem is that after about 24 hrs it gives a runtime error:
Microsoft Visual C++ Runtime Library!
Runtime Error!
Program: C:\python27\pythonw.exe
This application has requested the Runtime to terminate it in an unusual way.
And I hit OK python shell closes. And when I close all python files and check Windows Task Manager I see still there is a pythonw.exe file open there!!!
I am using IDLE to run my application.
To Solve error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools” You just need to Install Microsoft Visual C++ 14.0. First of all just download Visual C++ 2015 Build Tools from given link. And That will install Visual C++ 14.0 without installing Visual Studio.
This error can be caused due to Runtime components of Visual C++ Libraries are missing or due to software problem. I would suggest you to try performing a clean boot and check if you can install. A clean boot helps to verify if any third party application services or startup item is causing this issue.
In my former answer, I tried to introduce about the reason for the reported behavior and how one can debug and determine the root cause. Unfortunately, this requires an extensive debugging knowledge and time to isolate the problem.
Alternatively, Process Monitor can some handy to give a high level understanding of the problem, which as a User would post possibly need.
Tools Required
Steps to Debug
Add the following filters (Cntrl + F)
Search the LOG for a call to WerFault.exe
Gradually scroll up to see the last called Non Windows DLL which may be related to Python. In the above case, its abort_dll.dll.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With