You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I ran this for the first time on a Linux machine (Debian 11), I got the error /usr/bin/env: ‘python3\r’: No such file or directory
This indicates the "file was created or edited on a Windows system and uses Windows/DOS-style line endings (CR+LF), whereas Linux systems ... require Unix-style line endings (LF)." (source)
Per the suggestion in that post, I was able to fix this after running dos2unix on the file, after which the file executed perfectly.
I believe this means that at some point the python code was saved on a Windows machine? I have not tested running the file on Windows, however if the intention is to generally run it on Linux then it may be best to save on Linux before pushing to github.
If I am missing something, let me know. Thank you!
The text was updated successfully, but these errors were encountered:
Hi, when I ran this for the first time on a Linux machine (Debian 11), I got the error
/usr/bin/env: ‘python3\r’: No such file or directory
This indicates the "file was created or edited on a Windows system and uses Windows/DOS-style line endings (CR+LF), whereas Linux systems ... require Unix-style line endings (LF)." (source)
Per the suggestion in that post, I was able to fix this after running dos2unix on the file, after which the file executed perfectly.
I believe this means that at some point the python code was saved on a Windows machine? I have not tested running the file on Windows, however if the intention is to generally run it on Linux then it may be best to save on Linux before pushing to github.
If I am missing something, let me know. Thank you!
The text was updated successfully, but these errors were encountered: