Scroll phat Errno 2 smbus issues


#1

Im having problems with the scroll phat and a pi zero
I’ve followed the instructions

curl -sSL get.pimoroni.com/scrollphat | bash

and I get

pi@raspberrypi:~/Pimoroni/scrollphat $ sudo python ./test-all.py
Traceback (most recent call last):
File “./test-all.py”, line 5, in
import scrollphat
File “/usr/local/lib/python2.7/dist-packages/scrollphat/init.py”, line 6, in
bus = smbus.SMBus(1)
IOError: [Errno 2] No such file or directory

Im a bit stuck? anyone got any pointers? As far as I can tell its a software issue, missing smbus but ive no idea how to fix it

thanks

James


#2

Did you reboot after installing?

What do you see if, at terminal, you run:

ls /dev/i2c*

and

sudo lsmod

and

uname -a
cat /etc/os-*

#3

thanks, just has a chance to try now.
Worked on reboot, please add to your other great instructions and if it was already in the instructions then i apologise.

thanks for your help,

Scroll phat looks great

James


#4