I tried it, but I still get the same 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 RPi.GPIO
Traceback (most recent call last):
File "/storage/.kodi/addons/service.shutdown.pidesktop/shutdown.py", line 3, in <module>
import RPi.GPIO as GPIO
ImportError: No module named RPi.GPIO
-->End of Python script error report<--