pimoroni / automation-hat

Python library and examples for the Pimoroni Automation HAT, pHAT and HAT Mini
https://shop.pimoroni.com/products/automation-hat
MIT License
121 stars 42 forks source link

Installation instructions? #4

Closed mnelsoneorm closed 7 years ago

mnelsoneorm commented 7 years ago

I've tried pip install and just downloading the git and running setup, but still a no go.

Found the answer: curl -sS get.pimoroni.com/automationhat | bash

Odd, I had tried that first as a guess from other Pimoroni products and the path was not found. Maybe just network problems at the moment.

aquafemi commented 7 years ago

It might also help to run this as sudo curl -sS get.pimoroni.com/automationhat | bash to properly install the sn3218 driver needed. I had python errors like "function object has no attribute" trying to access some of the lights until I did sudo pip install sn3218.