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:ย 

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

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

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