I've been writing a simple python script, and I import the GPIO library, and the time library. I have the following code.
print()'Importing GPIO library'
import RPi.GPIO as GPIO
print()"Importing time library"
Yet I get this error message:
./RUNME.py: 2: ./RUNME.py: import: not found
./RUNME.py: 4: ./RUNME.py: import: not found
I run the program with sudo, and I have version 2.7.13 of python.
What causes these errors, and what can I do to rectify them? Thanks!