Speaker Phat: No module named sn3218


I soldered up my speaker phat and was getting a clicking noise every second or so, I did a fresh install (I had many things installed on a card) that stopped the clicking

however I am now getting the following error when running the examples

ImportError: No module named sn3218

I am running a fresh install from the rasperry pi site on a pi2

any ideas?


if you are trying to control the leds with python, then you need to install the sn3218 module.

On Raspbian:

sudo apt-get install python-sn3218 python3-sn3218

or other distributions, try:

sudo pip install sn3218


Sorry for the delay, thanks for the help, it works now :)