run source setup.sh, and then sudo raspi-config to enable spi before running (option 3: Interface Options)