Hello friends sorry for my english. I have RpiZero WH and i build Openwrt 18.06 branch.
Everything works great. But I have a problem installing the RPi.GPIO, RPIO python package.
root@OpenWrt:~# pip install RPIO
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting RPIO
Downloading https://files.pythonhosted.org/packages/29/05/6884572923c57ff488fdf5c4ab887deb9edb2515afbcb49be087c95ac698/RPIO-0.10.0.tar.gz
Installing collected packages: RPIO
Running setup.py install for RPIO ... error
ERROR: Command "/usr/bin/python2.7 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-ovBE3q/RPIO/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mA2l8_/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ovBE3q/RPIO/
root@OpenWrt:~# pip install RPi.GPIO
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting RPi.GPIO
Downloading https://files.pythonhosted.org/packages/af/2f/407b6e4cc8a0bdf434825a160bba1807991886b63cce16a5f1a6e1f24cdf/RPi.GPIO-0.6.5.tar.gz
Installing collected packages: RPi.GPIO
Running setup.py install for RPi.GPIO ... error
ERROR: Command "/usr/bin/python2.7 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-lViSTi/RPi.GPIO/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-o6rIT2/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-lViSTi/RPi.GPIO/
root@OpenWrt:~#
Every time I have the same error. Maybe someone would help me with this. I would be very grateful for help.