0

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
1
  • looking at only the error message it appears the file it is trying to read is either empty or corrupt. Try deleting the files and re-downloading them.
    – rob
    Apr 22 '14 at 13:04
0

I figured it out. It is working now. Why I did - reinstalled python3 sudo apt-get remove python3 sudp apt-get install python3

and it worked !! I am not sure why. there seems to have been some clash between python2 and python3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.