Windows startup issues
- No error, but app does not appear
- Windows updates
- Windows 7/8
- Video driver issues
- Multiple displays
- Antivirus/firewall software
- Admin access
- Multiple Anki installations present after updating
- Debugging
- If all else fails
No error, but app does not appear
If you start Anki and it fails to appear, without any error message, you can try the following:
- Disconnect multiple/external displays.
- Install the latest Anki version.
- Adjust your decimal separator, if it is not a period.
- Install the old 2.1.35-alternate build of Anki.
Windows updates
When starting Anki, you may receive a message like the following:
- Error loading Python DLL
- The program can't start because api-ms-win.... is missing
- Failed to execute script runanki
- Failed to execute script pyi_rth_multiprocessing
- Failed to execute script pyi_rth_win32comgenpy
These errors are usually because your computer is missing a Windows update or Windows library.
Please open Windows update, and ensure your system has all updates installed. If any needed to be installed, please restart your device after installing.
Windows 7/8
On Windows 7/8, you may need to manually install extra updates. Please try:
- https://www.microsoft.com/en-us/download/details.aspx?id=48234
- https://aka.ms/vs/15/release/vc_redist.x64.exe
- http://www.catalog.update.microsoft.com/Search.aspx?q=kb4474419
- http://www.catalog.update.microsoft.com/Search.aspx?q=kb4490628
Video driver issues
Please see display issues.
Multiple displays
If you get a LoadLibrary failed with error 126, this may be caused by the toolkit Anki is built on having trouble with multiple displays.
Antivirus/firewall software
Third-party software on your machine may prevent Anki from loading. You can try adding an exception for Anki, or temporarily disabling your antivirus/firewall to see if it helps.
Admin access
Some users have reported that Anki did not run for them until they right-clicked on the Anki icon and chose "Run as administrator". Anki stores all of its data in your user folder, and should not need administrator privileges, but it's something you can try if you've exhausted other options.
Multiple Anki installations present after updating
If the update process leaves you with multiple Anki installs (such as within
C:\Program Files\Anki
and C:\Program Files (x86)\Anki
), they may be left in a
non-working state, and Anki may refuse to start without showing an error message.
Try uninstalling all copies of Anki from your computer. To do this, find them in Windows Settings > Apps & features (or Apps > Installed apps) and uninstall, or run uninstall.exe
in each Anki program
folder. Afterward, install Anki again.
Debugging
Starting Anki from a terminal may reveal a bit more information about some
errors. After installing the latest Anki version and ensuring all Windows
updates are installed, instead of running Anki directly, press the Windows key (or open the Start menu), type cmd
, and launch Command Prompt. When the terminal window opens, paste the following command, and press Enter. (The path will be different if Anki is installed in a location that is not the default.)
%LocalAppData%\Programs\Anki\anki-console.bat
Presumably Anki will fail to open like before, but the output in the terminal window may reveal something about what is causing the problem.
If all else fails
If you are unable to start Anki after trying the above workarounds, you have two remaining options:
- You can try running from Python.
- You can try an older Anki version built with an older toolkit, such as 2.1.35-alternate, or 2.1.15.