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

What Databricks Runtime will I have to use if I want to leverage Python 2?

Anonymous
Not applicable

I have some code which is dependent on python 2. I am not able to use Python 2 with Databricks runtime 6.0.

2 REPLIES 2

Anand_Ladda
Honored Contributor II

You'll have to use DBR 5.5 for Python 2. See https://kb.databricks.com/python/python-2-eol.html#databricks-runtime-55-lts for additional details. Bear in mind though that Python 2 is EOL as of Jan 2020

User16826994223
Honored Contributor III

When you create a Databricks Runtime 5.5 LTS cluster by using the workspace UI, the default is Python 3. You have the option to specify Python 2. If you use the Databricks REST API to create a cluster using Databricks Runtime 5.5 LTS, the default is Python 2. If you have a Databricks Runtime 5.5 LTS cluster running Python 2, you are not required to upgrade to Python 3.

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.