Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: The support homepage carousel is not displaying. We are working toward a resolution.

Unable to execute Python script with tSystem component

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Unable to execute Python script with tSystem component

Last Update:

May 24, 2023 1:51:44 PM

Updated By:

TalendSolutionExpert

Created date:

May 24, 2023 1:51:44 PM

Problem Description

You are unable to execute a Python script with the tSystem component.

 

Root Cause

The Python paths are not in the service account's PATH environmental variable.

 

Solution

Ensure the Python paths are in the user's (not the system) PATH environmental variable.

Note: When you modify environmental variables, you need to restart the Talend component (in this case, the Remote Engine) to apply the changes.

 

Additional troubleshooting

  1. Create a simple Job with a single tSystem component.
  2. Use the tSystem command echo path, for example, on Windows use:
    cmd /c echo %PATH%
    
  3. If the path is present but Python is still not running, run whoami using the same tSystem component to validate the service account of the Remote Engine or JobServer.
Contributors
Version history
Last update:
‎2023-05-24 01:51 PM
Updated by: