Blockquote
java.io.IOException: Cannot run program "/usr/local/bin/ignition/data/TJ/python3 myio.py": CreateProcess error=2, The system cannot find the file specified
The file does exist. What command string should I use to run myio.py?
Note, I am running ignition in a raspberry pi.
Are you running the client on the same computer as the gateway? Which computer has /usr/local/bin/ignition/data/TJ/python3 myio.py? Perspective will only look on the gateway computer.
What scope are you running this from? It looks like you have python3 installed on the Gateway, so running it from the designer script console, for example, will not work. The path to the file you’re trying to execute may also be relative to the Ignition dir, so you might need to either make it absolute or account for that.