What Databricks Runtime will I have to use if I want to leverage Python 2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 07:39 PM
I have some code which is dependent on python 2. I am not able to use Python 2 with Databricks runtime 6.0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 08:15 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 10:49 PM
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.