runner-images
runner-images copied to clipboard
[error]Unable to locate executable file
Description
I am using ubuntu-latest agent to run pipeline on azure DevOps. Getting following error for Python Script task.
##[error]Unable to locate executable file: '...' Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Platforms affected
- [X] Azure DevOps
- [ ] GitHub Actions - Standard Runners
- [ ] GitHub Actions - Larger Runners
Runner images affected
- [ ] Ubuntu 18.04
- [ ] Ubuntu 20.04
- [ ] Ubuntu 22.04
- [ ] macOS 10.15
- [ ] macOS 11
- [ ] macOS 12
- [ ] Windows Server 2019
- [ ] Windows Server 2022
Image version and build link
Not able to find "Initialize job" -> "Runner Image" -> "Version".
Is it regression?
no
Expected behavior
Python script should run successfully
Actual behavior
Getting an error ##[error]Unable to locate executable file: '...' Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Repro steps
- Add task python script. agent is ubuntu latest
- Add inline script
- Run pipeline
Hey @bhosalemahesh899. I can't reproduce the issue.
pipeline:
output:
Feel free to open the thread if you have any concerns.