__pigpio__ (i.e., "''Pi GPIO''", not "Pig Pio") is a [softare library] for the [Raspberry Pi] which allows control of the General Purpose Input Outputs ([GPIO]). pigpio works on all versions of the Pi.

If trying to execute some Python code you get a message something like:
{{{
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Can't connect to pigpio at localhost(8888)

Did you start the pigpio daemon? E.g. sudo pigpiod
}}}
(etc.) you probably need to download and install pigpio.


* __Author:__ [Murray]

!! How to install the Python pigpio library

From the [Download & Install|http://abyz.me.uk/rpi/pigpio/download.html] page of ''pigpio library'':

If you don't already have a {{~/pigpio}} directory:
{{{
cd ~
mkdir pigpio
}}}
then download, compile and install it:
{{{
cd ~/pigpio
rm pigpio.zip
sudo rm -rf PIGPIO
wget abyz.me.uk/rpi/pigpio/pigpio.zip
unzip pigpio.zip
cd PIGPIO
make
sudo make install 
}}}

!! Links

* [pigpio|http://abyz.me.uk/rpi/pigpio/index.html] home page


----

[{Tag Recipe Python Software}]