I wanted to use the Databricks cli to deploy a python wheel in Databricks. However after running databricks bundle deploy
I am getting an error:
Error: INFO: Could not find files for the given pattern(s)
I tried it with the template project from the cli too (databricks bundle init
). I am getting the same error.
Databricks CLI version: 0.205.0
What should I change in the project to be able to work with python wheels?
I basically followed the steps in this description: https://docs.databricks.com/en/delta-live-tables/tutorial-bundles.html
I have just found the solution for the problem.
For some reason the cli uses python with the
python3
command. However in my Windows distribution python could be used only with thepython
command (I assume this is the normal way to work with python in windows).The solution for me was to clone the
python.exe
and rename it topython3.exe
. After that thedatabricks bundle deploy
worked as expected.