what to do? keeps showing this no matter what add on code i input

Debug info:
Anki 2.1.11 (3cf770c7) Python 3.6.1 Qt 5.9.7 PyQt 5.9
Platform: Windows 7
Flags: frz=True ao=True sv=2

Caught exception:
File “aqt\webview.py”, line 27, in cmd
File “aqt\webview.py”, line 85, in _onCmd
File “aqt\webview.py”, line 360, in _onBridgeCmd
File “aqt\editor.py”, line 288, in onBridgeCmd
File “C:\Users\admin\AppData\Roaming\Anki2\addons21\1374772155\main.py”, line 101, in
lambda o=editor: onImgOccButton(o),
File “C:\Users\admin\AppData\Roaming\Anki2\addons21\1374772155\main.py”, line 61, in onImgOccButton
io_model = getOrCreateModel()
File “C:\Users\admin\AppData\Roaming\Anki2\addons21\1374772155\config.py”, line 121, in getOrCreateModel
model_version = mw.col.conf[‘imgocc’][‘version’]
<class ‘KeyError’>: ‘imgocc’

Looks like the error is caused by the add-on Image Occlusion Enhanced. Might as well be any other add-on, since the Anki version you’re running is so old, it probably isn’t supported by any major add-on anymore.

You could try installing the latest Anki version (2.1.61) from Anki - powerful, intelligent flashcards.

2 Likes