Recent Windows Updates Breaking Visual C++ (MSVCP140.dll)
The last several Windows updates seem to have been reverting MSVCP140.dll to an extremely old version, causing many apps to outright refuse to launch, or show an error regarding the DLL. Event Viewer logs an error with MSVCP140.dll as the faulting module
UPDATE: turns out a printer driver has taken it upon itself to copy its own bundled MSVCP140 DLLs to System32, overwriting any existing DLLs in its path, regardless of version, and will continue to do so as long as the driver remains installed.
I recently found out about Anki and I was excited to try it out to help me study. When I open the app and try to import a file to create flashcards, it opens up my file explorer and I cant click or do anything. Then roughly 5 seconds later it crashes and kicks me out of the app. I tried to run it as a administrator and I tried to reinstall it and I tried to restart my laptop but I still couldnt fix the issue. Anytime I try to import or add files onto Anki this issue comes up. I made sure it is updated to the latest version to. Let me know any possible solutions.
Also, maybe try running .NET Framework Repair Tool, since .NET Runtime was mentioned in the crash logs.
Actually, try the workaround mentioned by JetBrains first.
Close Anki
Open %LOCALAPPDATA%\AnkiProgramFiles\.venv\Lib\site-packages\PyQt6\Qt6\bin\ with File Explorer (click the address bar to modify it or press Win + R and paste it there)
Rename msvcp140.dll to msvcp140.dll.old
Open Anki
If the crash still occurs, also rename msvcp140_1.dll to msvcp140_1.dll.old and msvcp140_2.dll to msvcp140_2.dll.old in the same folder or open Event Viewer and check the most recent logs for the information about the crash, especially this part: