1. Start by updating the packages index:sudo apt update
  2. Install pip for Python 2 and all of its dependencies:sudo apt install python-pip
  3. Verify the installation by issuing the following command which will print the pip version:pip --versionThe version number may vary, but it will look something like this:pip 18.1 from /usr/lib/python2.7/dist-packages/pip (python 2.7)
  4. pip3 install RPi.GPIO

These are the steps I followed to get things setup on one of my Pi based nodes so I could make use of GPIO. I proved that it works by following the great tutorial here: https://learn.sparkfun.com/tutorials/raspberry-gpio/all

What will I do with it? Well, the blinking lights were certainly fun but now I need to learn how to harness my newfound powers for good, not evil. In other words: I haven’t a clue yet.