On a non Raspberry Pi (just an ordinary laptop, installed with 17.04) - I'm trying to run a Python script to control Pi's Remote GPIO, with no success.

pigpio module is installed as ordered in pigpio library.Installation was OK, and files are present designated directory.

When trying to load pigpio's daemon - sudo pigpiod, an error message recieved saying "file not found".

This is the first time I'm trying to use this daemon on a non RPi - perhaps I'm doing something wrong.

guy@LG-LAPTOP:~$ sudo pigpiod
[sudo] password for guy: 
sudo: pigpiod: command not found

1 Answer 1


The pigpio daemon will only run on a Raspberry Pi.

You can connect to the daemon from a laptop to control the GPIO of the Raspberry Pi, e.g. via a Python script or C program.

  • hi, it says "command not found", why?
    – guyd
    Commented Aug 23, 2017 at 3:42
  • @Guy.D I have no idea. What command? Where are you running that command?
    – joan
    Commented Aug 23, 2017 at 7:27
  • @joan- in the text of the question, there is an output. It was ran on PC using ubuntu 17.04.
    – guyd
    Commented Aug 23, 2017 at 7:41
  • Yes, and what does my answer say?
    – joan
    Commented Aug 23, 2017 at 7:42
  • 1
    That is correct. On a non-Pi just run a Python script with import pigpio and open the remote Pi with pi = pigpio.pi("remote_host_name_or_IP_address") or use the environment variable PIGPIO_ADDR=remote_host_name_or_IP_address
    – joan
    Commented Aug 23, 2017 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.