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

Configure Databricks CLI : Unable to locate executable file: 'python' #57

Open johnnashgo opened 1 year ago

johnnashgo commented 1 year ago

Hello Experts,

I am creating a Azure DevOps release pipeline to deploy Databricks notebooks. Using Configure Databricks CLI and Databricks Notebooks deployments, but Configure Databricks CLI is failing with below error.

[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.

[debug]Processed: ##vso[task.issue type=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.

Used user Python version task at the beginning but did not resolve my issue. Please suggest?