I get this weird error when I am trying to run as per the instructions on this repo https://github.com/piface/pifacedigital-scratch-handler/blob/master/README.md
pi@raspberrypi ~ $ pifacedigital-scratch-handler
Traceback (most recent call last):
File "/usr/bin/pifacedigital-scratch-handler", line 17, in <module>
import pifacedigitalio as pfio
EOFError: EOF read where not expected