While running a file entitled shuf-new.py
in the linux environment, the following command works when I use python 2:
./shuf.py -e bob
However, when I change the first line of my code to #!/usr/bin/python3
, I get the following error:
-bash: ./shuf-new.py: /usr/bin/python3: bad interpreter: No such file or directory
I'm not sure how to go about solving this.