Acceptable pythons to use with databricks-sql-cli (dbsqlcli)?

Herkimer
New Contributor II

I have recently had to rebuild my laptop. Before it crashed I was able to use the dbsqlcli and have a set of scripts which I was using to do simple extracts into text files.

The rebuild shows Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on win32. Some of the documentation shows dbsqlcli is compatible with specific versions of python.

1) Is it possible that this is why I am getting the "getaddrinfo" errors from this post - getaddrinfo?

2) is it possible to have multiple versions of python installed or do I have to roll back to an earlier version of python?

3) how would I do either action in Q2?

Many thanks,

^John

Atanu
Databricks Employee
Databricks Employee

@John Zajic​ you need -

  • Python 3.7 or higher. To check whether you have Python installed, run the command 
  • Install Python, if you do not have it already installed.
  • I believe one version should be sufficient.