Mote Phat wont install


#1

Hi, just installed a MOTE PHAT onto a raspberry pi zero running an “out of the box” copy of Pixel and launched the curl command as mentioned on the github link, but it fails with a compilation terminated error.

Does the curl command work with my hardware\OS version combination? I can get a copy of the full error message if required.


#2

I suspect it is trying to compile RPi.GPIO? make sure you run:

sudo apt-get install python-rpi.gpio python3-rpi.gpio

#3

That cracked it, thanks. Maybe stick that line into the GitHub readme to help the likes of me get things going, if it isn’t there already.
Cheers


#4

It’s hopefully a one-off… particularly as our libraries make their way into the Raspbian repo (so will automatically drag packages they depend on from there).

… but yes, it’s worth noting that a ‘fresh’ copy of Raspbian, even as recent as a few days is not necessarily up-to-date, I recommend running sudo apt-get upgrade right away after creating a SD.


#5

Yep, I did the upgrade too. It works now anyway, now I have to figure out how to use the examples. Some comments in the examples would be good too.