10
rated 0 times
[
10]
[
0]
/ answers: 1 / hits: 14866
/ 2 Years ago, mon, march 28, 2022, 2:17:41
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
More From » bash