java.io.IOException: Cannot run program "python" (in directory "C:\Users\herod\jenkins_ws\workspace\window_testing"): CreateProcess error=2, The system cannot find the file specified

Stack Overflow | yehudahs | 2 years ago
  1. 0

    failed to run python scripts with jenkins

    Stack Overflow | 2 years ago | yehudahs
    java.io.IOException: Cannot run program "python" (in directory "C:\Users\herod\jenkins_ws\workspace\window_testing"): CreateProcess error=2, The system cannot find the file specified
  2. 0

    'docker build' fails on Linux Jenkins slave with jenkins 1.590

    GitHub | 2 years ago | gcarre
    java.io.IOException: Cannot run program "docker" (in directory "\home\jenkins\jenkins\workspace\gcarre\docker"): error=2, No such file or directory
  3. 0

    Jenkins cannot start process on Windows Slave

    Stack Overflow | 2 years ago | Alex Sorokoletov
    java.io.IOException: Cannot run program "tf" (in directory "c:\Jenkins\workspace\ProjectName-WindowsPhone"): CreateProcess error=87, The parameter is incorrect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "hg pull" fails when Jenkins is a Windows Service

    Stack Overflow | 2 years ago
    java.io.IOException: Cannot run program "hg" (in directory "D:\Hudson\workspace\MercurialTest"): CreateProcess error=87, The parameter is incorrect
  6. 0

    [JENKINS-6796] "mvn" No such file or directory - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    java.io.IOException: error=2, No such file or directory

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Cannot run program "python" (in directory "C:\Users\herod\jenkins_ws\workspace\window_testing"): CreateProcess error=2, The system cannot find the file specified

    at java.lang.ProcessBuilder.start()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessBuilder.start(Unknown Source)
    1 frame
  3. Hudson
    Launcher$RemoteLaunchCallable.call
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:775)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:355)
    5. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1024)
    6. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:991)
    6 frames