microsoft / azdo-databricks

A set of Build and Release tasks for Building, Deploying and Testing Databricks notebooks
MIT License
25 stars 30 forks source link

Unable to locate executable file: 'python' on self hosted agent even though Python is installed on it. #38

Open bhanush3 opened 3 years ago

bhanush3 commented 3 years ago

I am using 'Deploy Databricks Notebooks' task in release pipeline and pre-requisites is to have python installed on self hosted agent. 'Use Python version' task is running fine and showing logs as Prepending PATH environment variable with directory: C:\hostedtoolcache\windows\Python\3.8.0\x64. but post this when 'Deploy Databricks Notebooks' task run it throws below error: 'Unhandled: Unable to locate executable file: 'python'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.' Azure Devops self hosted agent is running on windows server 2016 64-bit OS.