2018-02-01, 11:32
Hello, hope somebody can point me in the right direction. Decided to check compatibility of my addon(s) with python 3, did 2to3 and really only few things were changed. But when It starts I get the error something to do with PIL:
Quote:10:29:01.630 T:21284 ERROR: C:\Program Files (x86)\KodiP3\addons\script.module.pil\lib\PIL\Image.py:81: RuntimeWarning: The _imaging extension was built for another version of Python.
RuntimeWarning
10:29:01.632 T:21284 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: Module use of python27.dll conflicts with this version of Python.
Traceback (most recent call last):
File "C:\Program Files (x86)\KodiP3\portable_data\addons\service.yeemee\service.py", line 27, in <module>
from PIL import Image
File "C:\Program Files (x86)\KodiP3\addons\script.module.pil\lib\PIL\Image.py", line 66, in <module>
from PIL import _imaging as core
ImportError: Module use of python27.dll conflicts with this version of Python.
-->End of Python script error report<--