Purchase-Analytics
Purchase-Analytics copied to clipboard
What does it mean when I have this error message on the website testing website: "Failed! Error executing run.sh (often due to location of shell 'env')"?
You most likely used a Windows machine to develop your code and there is most likely a ^M carriage character in your run.sh that is preventing the file from being executed in a Unix environment. Please replace all occurrences with a newline.
Thank you!
If you are unable to figure out how to work the newline character, just recreate run.sh using the following command from the repository root of GIT Bash.
echo $'command to execute the python program' > run.sh
Hi, had the same issue myself. I ended up fixing it by adding the following to the first line of my run.sh file.
#!/usr/bin/env bash