Anki refuses to open

After deleting anki and reinstalling to fix an addon problem i had, i found that anki refused to open again, no error messages or anything.
I tried downloading different versions, betas, C++ Redistributable, running it directly, searching in the directory, all to no avail.

I copied a fellow user by running anki-console through command prompt, which gave me this result:

Anki starting...
Initial setup...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "aqt", line 58, in <module>
  File "anki.collection", line 84, in <module>
  File "anki.sync", line 14, in <module>
  File "anki.httpclient", line 14, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "wrapt.importer", line 184, in _self_exec_module
  File "requests", line 164, in <module>
  File "requests.api", line 11, in <module>
  File "requests.sessions", line 15, in <module>
  File "requests.adapters", line 76, in <module>
  File "urllib3.util.ssl_", line 349, in create_urllib3_context
OSError: [Errno 22] Invalid argument: 'c\\:Users\\MYNAME\\SSLKeys\\sslkeylog.log'
Press any key to continue . . .

I also downloaded process monitor and filtered to Anki, however i have no idea what to look for. I followed one post and searched for QtCore as a keyword, but nothing came up. Something i did notice is that the amount of process that process monitor was monitoring did constantly increase, meaning that something is running.

I believe there is a problem with my SSLKeys however, i have no idea what to do. Please help me out if you can

This looks like Windows (maybe? :person_shrugging:t4:), so start with the platform notes. Windows - Anki Manual

If all you did was uninstall and reinstall Anki, the add-on problem wouldn’t go anywhere. Have you tried the Troubleshooting Checklist – especially #2, which will help you get around your add-ons? Troubleshooting - Anki Manual

I tried downloading all start-up issues, though the only result I had was from downloading the beta version again. This time, I got a display error (shown below)

Screenshot 2024-09-15 125123
Screenshot 2024-09-15 125142

After seeing that drivers were mentioned I went to display issues and ran the Qt5 code in command prompt, which then allowed Anki to open. I will try to do so with the more recent versions too, and give any updates if I require any more help. Thank you a lot.

(btw the problem i had with addons was that they would not download due to network errors, which confused me, but thats neither here nor there for now)

After trying with the newest versions, none of the solutions listed made any changes whatsoever. Still no start-up, no error message. I assume I messed with my SSLKeys at some point not allowing Anki to work properely but I have no clue how to fix it.

It seems like your best course of action at this point is to repair your Windows installation first, make sure everything is updated and you have appropriate graphics drivers. Then you can try installing Anki again.

1 Like

Can you be able to use a virtual machine and install Anki from there? There’s a in-built virtual machine feature in every Windows installation called “Windows Sandbox.”

Reproduce the installation from there, and see if the problem still occurs.

1 Like

Thank you so incredibly much like actually you all are lifesavers, even if following some the instructions was confusing lol

thank you to everyone who attempted to help :smiley:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.