[Linux] /usr/bin/python^M: bad interpreter: No such file or directory


你是從 Windows 平台上,把檔案拷到 Linux 上面去執行嗎?

如果你是使用 Sublime Text 可以嘗試從將 Line Endings 改成 Unix (View -> Line Endings -> Unix),這樣可能就可以解決你的問題了。


Be the first to comment

Leave a Reply

Your email address will not be published.


This site uses Akismet to reduce spam. Learn how your comment data is processed.