Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Advanced users • Re: Alexa .... Alexa ... ALEXA!!

$
0
0
Have you verified that you can run the script manually from the command line? If so, how do you run it? My first thought was that the script file has not been made executable (chmod +x <filename>), which wouldn't matter if you always pass it on the command line of the interpreter - python script.py, sh script.sh etc. - but does if you are relying on the "#!" directive at the top of the file to be able to run it directly - ./script.py, ./script.sh.

Seeing the "./"s in my examples reminds me that if the scripts are not in the PATH for the program which is parsing this config.json then you will need to provide an absolute path to them.

Statistics: Posted by PhilE — Mon Apr 28, 2025 8:01 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles