cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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
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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group