Error when trying to import subprocess

Hi all,

Anyone has an idea why from the following code:

import home
import subprocess

window_home = home.WindowHome()
window_home.doModal()
del window_home
window_home = None

I get this error …:

12:39:00.610 T:15460 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: cannot import name deque
Traceback (most recent call last):
File “C:\Users\yohay\AppData\Roaming\Kodi\addons\script.media.mosaic\addon.py”, line 2, in <module>
import subprocess
File “C:\Program Files (x86)\Kodi\system\python\Lib\subprocess.py”, line 415, in <module>
import threading
File “C:\Program Files (x86)\Kodi\system\python\Lib\threading.py”, line 13, in <module>
from collections import deque as _deque
ImportError: cannot import name deque
–>End of Python script error report<–