node-red-nodes
node-red-nodes copied to clipboard
node-red-node-pi-gpio debian GPIO package install error
Which node are you reporting an issue on?
node-red-node-pi-gpio
What are the steps to reproduce?
Installing Gpio package (debian11): sudo apt-get install python-pip python-dev sudo pip install RPi.GPIO
What happens?
I get error message at command: 'sudo pip install RPi.GPIO' : DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop sup port for Python 2.7 in January 2021. More details about Python 2 support in pip c an be found at https://pip.pypa.io/en/latest/development/release-process/#python- 2-support pip 21.0 will remove support for this functionality. Collecting RPi.GPIO Using cached RPi.GPIO-0.7.0.tar.gz (30 kB) Building wheels for collected packages: RPi.GPIO Building wheel for RPi.GPIO (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-azn2eG/rpi-gpio/setup.py'"'"'; file='"'"'/tmp/pip-in stall-azn2eG/rpi-gpio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(f ile);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile ..............
What do you expect to happen?
Run install without error
Please tell us about your environment:
- [ ] Node-RED version: 2.0.6
- [ ] node.js version: 16.10.0
- [ ] npm version: 7.24.1
- [ ] Platform/OS: debian 11 (bullseye)
- [ ] Browser: Chome