Hi
tried to install RPi.GPIO but failed.
having python 2.7.13
and osmc : 4.19.55-6-osmc
sudo pip install rpi.gpio
Traceback (most recent call last):
File “/usr/local/bin/pip”, line 6, in
from pip._internal import main
ImportError: No module named _internal
checking pip.
sudo apt-get install python-pip
Reading package lists… Done
Building dependency tree
Reading state information… Done
python-pip is already the newest version (9.0.1-2+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Followed already: but this does not solve it .
looks like pip is not correct?
thanks for hints
BR Thomas
https://discourse.osmc.tv/t/fail-to-install-rpi-gpio/80309
"
Update: Alright, so I figured I was missing a python module called setuptools, so I installed it just now by sudo apt-get install python-setuptools . Right after I run sudo pip install rpi.gpio "