Hi folks,
Been playing around with a few Kodi addons, and one particular one throws the following Python error. I’ve removed the name of the addon in the following logfile snippet.
2022-04-06 06:25:26.543 T:3134 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class ‘ModuleNotFoundError’>
Error Contents: No module named ‘Crypto’
Traceback (most recent call last):
File line 19, in
from Cryptodome.Cipher import AES
ModuleNotFoundError: No module named ‘Cryptodome’During handling of the above exception, another exception occurred: Traceback (most recent call last): File <XXX>, line 22, in <module> from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto' -->End of Python script error report<--
I’m guessing that the python module is missing. Running a Vero 4K+ however, how would I go about adding in this python module into OSMC ? Also, if that can be done, would updating OSMC require having to add this module in again ?
I guess, a generic question surrounding this would be how would we add a Python module into the OSMC build on a Vero 4K+, and would this be persistent across updates.
Any help would be appreciated on this. Thanx in advance !