<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Unable to execute Python script with tSystem component in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Unable-to-execute-Python-script-with-tSystem-component/ta-p/2151801</link>
    <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;H1&gt;Problem Description&lt;/H1&gt;

&lt;P&gt;You are unable to execute a Python script with the &lt;STRONG&gt;tSystem&lt;/STRONG&gt; component.&lt;/P&gt;
&amp;nbsp;

&lt;H1&gt;Root Cause&lt;/H1&gt;

&lt;P&gt;The Python paths are not in the service account's PATH environmental variable.&lt;/P&gt;
&amp;nbsp;

&lt;H1&gt;Solution&lt;/H1&gt;

&lt;P&gt;Ensure the Python paths are in the user's (not the system) PATH environmental variable.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: When you modify environmental variables, you need to restart the Talend component (in this case, the Remote Engine) to apply the changes.&lt;/P&gt;
&amp;nbsp;

&lt;H2&gt;Additional troubleshooting&lt;/H2&gt;

&lt;OL&gt;&lt;LI&gt;Create a simple Job with a single &lt;STRONG&gt;tSystem&lt;/STRONG&gt; component.&lt;/LI&gt;&lt;LI&gt;Use the &lt;STRONG&gt;tSystem&lt;/STRONG&gt; command &lt;STRONG&gt;echo path&lt;/STRONG&gt;, for example, on Windows use:
	&lt;PRE class="ckeditor_codeblock"&gt;
cmd /c echo %PATH%
&lt;/PRE&gt;
	&lt;/LI&gt;&lt;LI&gt;If the path is present but Python is still not running, run &lt;STRONG&gt;whoami&lt;/STRONG&gt; using the same &lt;STRONG&gt;tSystem&lt;/STRONG&gt; component to validate the service account of the Remote Engine or JobServer.&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 May 2023 17:51:44 GMT</pubDate>
    <dc:creator>TalendSolutionExpert</dc:creator>
    <dc:date>2023-05-24T17:51:44Z</dc:date>
    <item>
      <title>Unable to execute Python script with tSystem component</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Unable-to-execute-Python-script-with-tSystem-component/ta-p/2151801</link>
      <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;H1&gt;Problem Description&lt;/H1&gt;

&lt;P&gt;You are unable to execute a Python script with the &lt;STRONG&gt;tSystem&lt;/STRONG&gt; component.&lt;/P&gt;
&amp;nbsp;

&lt;H1&gt;Root Cause&lt;/H1&gt;

&lt;P&gt;The Python paths are not in the service account's PATH environmental variable.&lt;/P&gt;
&amp;nbsp;

&lt;H1&gt;Solution&lt;/H1&gt;

&lt;P&gt;Ensure the Python paths are in the user's (not the system) PATH environmental variable.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: When you modify environmental variables, you need to restart the Talend component (in this case, the Remote Engine) to apply the changes.&lt;/P&gt;
&amp;nbsp;

&lt;H2&gt;Additional troubleshooting&lt;/H2&gt;

&lt;OL&gt;&lt;LI&gt;Create a simple Job with a single &lt;STRONG&gt;tSystem&lt;/STRONG&gt; component.&lt;/LI&gt;&lt;LI&gt;Use the &lt;STRONG&gt;tSystem&lt;/STRONG&gt; command &lt;STRONG&gt;echo path&lt;/STRONG&gt;, for example, on Windows use:
	&lt;PRE class="ckeditor_codeblock"&gt;
cmd /c echo %PATH%
&lt;/PRE&gt;
	&lt;/LI&gt;&lt;LI&gt;If the path is present but Python is still not running, run &lt;STRONG&gt;whoami&lt;/STRONG&gt; using the same &lt;STRONG&gt;tSystem&lt;/STRONG&gt; component to validate the service account of the Remote Engine or JobServer.&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 17:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Unable-to-execute-Python-script-with-tSystem-component/ta-p/2151801</guid>
      <dc:creator>TalendSolutionExpert</dc:creator>
      <dc:date>2023-05-24T17:51:44Z</dc:date>
    </item>
  </channel>
</rss>

