As I read from forums, Python2 is removal at bullseye. I install python2.7 manually but there is gpio problem with python2.
sudo python2.7 -m pip install RPi.GPIO
dont work. Raises
collect2: error: ld returned 1 exit status
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
And very long error log. Do you have any suggestions?
sudo python2.7 -m pip install --upgrade pip
sudo python2.7 -m pip install pyparsing
sudo python2.7 -m pip install pyparser
sudo apt-get install libffi-dev
sudo apt-get install libzbar-dev
sudo apt-get install clang
sudo apt-get install python-dev
sudo apt-get install libssl-dev
sudo apt-get install build-essential
used and still dont work.