After Kodi 17 update: No module named simplejson

Several plugins stopped to work after update on missing dependency:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type ‘exceptions.ImportError’>
Error Contents: No module named simplejson
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/plugin.video.dmd-czech.stream/default.py”, line 5, in
import simplejson as json
ImportError: No module named simplejson
–>End of Python script error report<–

other addon, similar error:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type ‘exceptions.ImportError’>
Error Contents: No module named simplejson
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/plugin.video.videacesky.cz/default.py”, line 27, in
import util
File “/home/osmc/.kodi/addons/script.module.stream.resolver/lib/util.py”, line 34, in
import simplejson as json
ImportError: No module named simplejson
–>End of Python script error report<–

21:14:46.530 T:1958261680  NOTICE: Starting Kodi (17.1-RC1). Platform: Linux ARM (Thumb) 32-bit
21:14:46.530 T:1958261680  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
21:14:46.530 T:1958261680  NOTICE: Kodi compiled Feb  5 2017 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 3.16.36 (200740)
21:14:46.531 T:1958261680  NOTICE: Running on Open Source Media Center 2017.02-1, kernel: Linux ARM 32-bit version 4.4.27-7-osmc
21:14:46.539 T:1958261680  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
21:14:46.539 T:1958261680  NOTICE: Host CPU: ARMv7 Processor rev 5 (v7l), 4 cores available
21:14:46.539 T:1958261680  NOTICE: ARM Features: Neon disabled

Solution is re-install at least one add-on which has this dependency and than all start to work…

The add-on developer should declare these dependencies correctly.

But it seems, that he did:

<import addon="script.module.simplejson" version="2.0.10" />

and second addon:
<import addon="script.module.simplejson"/>

But I don’t know if that version matters

You may just have to install those scripts from the repository manually. I upgraded this evening and that was the only thing of mine that didn’t work correctly. Went into the repository, installed those scripts (mine were actually different scripts as I guess I was using a different addon) and then it was working ok.

I couldn’t find that simplejson module in repo so i made it this way. How to find system modules in repo?