Lubuntu Raring Ringtail. I want to be able to execute my scripts with ./
I start my python script with #!/usr/bin/python
and it says
bash : ./myscript.py: /usr/bin/python^M: bad interpreter: No such file or directory
If I use #!/usr/bin/env python
it gives a similar error:
: No such file or directory
What am I doing wrong?
I absolutely have python installed, and can run the scripts as normal with python myscript.py