Databricks CLI worked a year and half ago, when I last worked with it. Since then I have mostly used API. Now, I wanted to use Databricks CLI again (on a new PC) and it does not work.
"The term 'databricks-connect' is not recognized as the name of a cmdlet, function, script file, or operable program"
I have done the following:
pip3 install databricks-cli
What am I missing?
Even databricks --version does not work.
What is it that I am missing
You're mixing things - databricks-connect
command is from databricks-connect
package, the databricks-cli
package provides only databricks
and dbfs
commands.
On Windows the scripts installed by databricks-cli
are installed into the Scripts
folder under the root of Python installation (I think that it should be c:\users\username\appdata\roaming\python\python37\Scripts
in your case). So you need to add it into the PATH
environment variable.