cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

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

1 REPLY 1

Atanu
Esteemed Contributor
Esteemed Contributor

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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.