Sto cercando di eseguire uno script Python, su un Raspberry PI senza testa usando winSCP e ottenere il seguente messaggio di errore:
Command '"./areadetect_movie_21.py"'
failed with return code 127 and error message
/usr/bin/env: python
: No such file or directory.
Quando provo ad eseguire dal terminale, ottengo:
: No such file or directory.
Provo uno script Python simile, nella stessa directory, con lo stesso python shebang, le stesse autorizzazioni e usando lo stesso utente pi, e funziona.
Faccio anche un ls
e posso vedere il file, quindi non so perché non verrà eseguito.