Error Message when trying to search, sync, etc

An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-07-21 21:33:39

Caught exception:
Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 197, in on_window_init
File “aqt.main”, line 243, in setupProfileAfterWebviewsLoaded
File “aqt.main”, line 290, in setupProfile
File “aqt.main”, line 450, in loadProfile
File “aqt.main”, line 525, in setup_sound
File “aqt.sound”, line 867, in setup_audio
File “aqt.tts”, line 269, in
File “C:\Program Files\Anki\lib\win32com\”, line 11, in
from . import gencache
File “C:\Program Files\Anki\lib\win32com\client\”, line 761, in
File “C:\Program Files\Anki\lib\win32com\client\”, line 60, in init
File “C:\Program Files\Anki\lib\win32com\client\”, line 119, in _LoadDicts
version = p.load()
_pickle.UnpicklingError: invalid load key, ‘\x00’.

Maybe removing c:\program files\anki and then installing Anki again will help.