Open sebin-git opened 2 years ago
Issue Resolved after setting the version to 3.6.x
I get the same error now, but before (last successful deployment 2022-01-27) it worked with the Python version 3.7.9.
And the graphical version of this module in the Azure DevOps release pipelines doesn't offer any possiblity to adapt the Python version.
I get the same error now, but before (last successful deployment 2022-01-27) it worked with the Python version 3.7.9.
And the graphical version of this module in the Azure DevOps release pipelines doesn't offer any possiblity to adapt the Python version.
In the GRAPHICAL VERSION.. Add. a task Use Python Version Task and then set it to 3.6.x. That resolved my issue. Try it out
Selecting Python version 3.6.x works for us.
Can confirm this worked for me also, using the tip for the graphical version. Thanks!
Switching to python 3.6.x resolved this for us too. However, as of today, it appears 3.6.x is no-longer available in Azure
##[error]Version spec 3.6.x for architecture x64 did not match any version in Agent.ToolsDirectory.
I'm not sure what other options are available now
In Azure DevOps you can switch the Agent Specification to an Ubuntu server. If this doesn't work for you or you want to stay on Windows, use e.g. "windows-2019" instead of "windows-latest".
Thanks @sparianer - I was able to find another resolution for this by looking at Kurowknr's comment on #48 - Adding in a script step to run pip install databricks-cli
works too.
In Azure Devops below is failing Configure Databricks CLI is showing error
[command]C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\pip.exe install databricks-cli Error while installing databricks-cli Writing databricks-cli configuration to file: C:\Users\VssAdministrator.databrickscfg
Since the Configure Databricks CLI is failing the subsequent task also fails