I've been successfully using the tvheadend42 addon built from the git repository checked out to 9.2.0, patched to compile to tvheadend version 4.3.
In order to use the fanart scraping feature for recordings, I built the tvh addon again with a couple more tweaks. The built in tvh python scripts were copied to the tvh addon by including
cp -P $PKG_BUILD/lib/py/tvh/tv_meta_* $ADDON_BUILD/$PKG_ADDON_ID/bin
in the tvheadend package.mk. These scripts require the 'requests' module so I included a dependency in the tvheadend addon.xml
<import addon="script.module.requests" version="2.22.0"/>
The tvh addon built and installed successfully and it pulled in the required script.module.* addons which are all showing in /storage/.kodi/addons, and showing in the Kodi GUI "Addons/Manage dependencies" with ticks.
However the tv_meta_* scripts fail with
and if I type 'python' at the command prompt and type help ("modules") none of the addon modules are listed. A test python script with 'import requests' also fails.
What have I done wrong?