On your machine:
[5816] LOADER: _MEIPASS2 is C:\Users\olive\AppData\Local\Temp\mei
On my machine:
[10024] LOADER: _MEIPASS2 is NULL
It looks like it’s an environment variable. Maybe another app created this variable in the past.
Try to run anki-console again from cmd.exe but with these two lines:
set _MEIPASS2=
cd \program files\anki & anki-console
If it works and Anki can be opened, press Win and search for “environ” (“Edit the system environment variables”) - Environment Variables, look for “_MEIPASS2” in User or System variables and delete it. If nothing is found, maybe restart Windows.