I am using a GrovePiZero and no matter which sample program I am using, it cannot be executed. I have already tried it with different sensors and I keep getting errors in the program. Actually I do everything as it is described, using the same operating system. Furthermore, the connection between GrovePi and Pi zero is sometimes interrupted.
Hello Leah
You’re trying to run a Python program, and not a bash script.
Try python grove_electricity_sensor.py
instead and let us know what that gives you.