I just bought a brickpi3 with the box for my raspberry pi 3 with rasbian OS. I connected the hardware together, downloaded the python BrickPi3.py from the github as instructed, performed the install, and then when I try to run the all_test.sh or any py file, and they fail on the same line
File “LED.py”, line 18, in
import brickpi3 # import the BrickPi3 drivers
File “build/bdist.linux-armv7l/egg/brickpi3.py”, line 20, in
IOError: [Errno 2] No such file or directory
so the initialization fails on the spi open(0,1).
the boot/config.txt has the dtparam sets to spi.
I could not find working solution in the forum.