title: Im trying to execute python --version command from Jenkins job, and jenkins job tells me it cant recognize the command
body: <h1>Setup:</h1>
  
  <ul>
  <li>Windows 10</li>
  <li>Installed pip3 and python3 (can be executed everywhere)</li>
  <li>Installed Jenkins</li>
  <li>Installed PowerShell plugin</li>
  <li>Created a job </li>
  </ul>
  
  <p>I want to run job on Jenkins master at my own computer. </p>
  
  <p>When I try to run <code>python --version</code> it gives me this error (same as with robot tests): 
  (freestyle project and powershell chosen)</p>
  
  <pre><code>&gt;Started by user admin
  Running as SYSTEM
  Building in workspace C:\Program Files (x86)\Jenkins\workspace\python test - freestyle
  [python test - freestyle] $ powershell.exe -NonInteractive -ExecutionPolicy Bypass -File C:\Windows\TEMP\jenkins4675506517232608628.ps1
  **Program 'python.exe' failed to run: The file cannot be accessed by the systemAt**
  C:\Windows\TEMP\jenkins4675506517232608628.ps1:2 char:1
  + python --version
  + ~~~~~~~~~~~~~~~~.
  At C:\Windows\TEMP\jenkins4675506517232608628.ps1:2 char:1
  + python --version
  + ~~~~~~~~~~~~~~~~
      + CategoryInfo          : ResourceUnavailable: (:) [], ParentContainsErrorRecordException
      + FullyQualifiedErrorId : NativeCommandFailed
  
  &gt;Build step 'PowerShell' marked build as failure
  Finished: FAILURE
  </code></pre>
  
  <p>It seems it can't find the program.</p>
  
  <p><a href="https://i.stack.imgur.com/3EKJh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3EKJh.png" alt="enter image description here"></a></p>