Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,I am getting below error.
tSystem_1 Cannot run program "python": CreateProcess error=2, The system cannot find the file specified java.io.IOException: Cannot run program "python": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at java.lang.Runtime.exec(Runtime.java:620)
My Talend cloud studio in local system is able to execute python script through tsystem component. Also, my remote server has python installed which can be used to execute python scripts using CMD commands. But, when we are trying to execute through TMC, we are getting the same error as above . Providing the full path of python.exe solves the issue but we do not want to provide the full path rather call the python script itself only. For Eg: python <script_path>
Hi
Have a try
1 Add the full path of python.exe to &PATH variable on Remote Engine server.
2 Check 'Use home directory' box and set it to the full path where python.exe is located.
Please also check if the Remote Engine and python are running under the same user.
Regards
Shong