<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python versions - Notebooks and DBR in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/python-versions-notebooks-and-dbr/m-p/116067#M9861</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/157730"&gt;@Terje&lt;/a&gt;, were you able to fix it? From what I know, during the free trial period we’re limited to the default setup, so version mismatches can’t be resolved unless we upgrade to a paid workspace.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Apr 2025 13:14:20 GMT</pubDate>
    <dc:creator>Renu_</dc:creator>
    <dc:date>2025-04-21T13:14:20Z</dc:date>
    <item>
      <title>Python versions - Notebooks and DBR</title>
      <link>https://community.databricks.com/t5/get-started-discussions/python-versions-notebooks-and-dbr/m-p/115411#M9337</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a problem with conflicting python versions in a notebook running with the Databricks 14 day free trial. One example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;spark.conf.get("spark.databricks.clusterUsageTags.clusterName")

# Returns: "Python versions in the Spark Connect client and server are different. "&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;From the notebook i get:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import sys
print("Python version:", sys.version) # Python version: 3.11.10 (main, Sep  7 2024, 18:35:41) [GCC 11.4.0]&lt;/LI-CODE&gt;&lt;P&gt;When checking the Databricks Runtime (DBR) I get:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;spark.sql('select current_version()').show(truncate=False)

# Return:
+-------------------------------------------------------------------------------------------------------------------+
|current_version()                                                                                                  |
+-------------------------------------------------------------------------------------------------------------------+
|{16.2.x-photon-scala2.12, NULL, 25febc4dda008cee33c7cc2917b4fcf1751d09cc, 71560b5c13fbd79930e69ec9f2863ca7018b22fe}|
+-------------------------------------------------------------------------------------------------------------------+
&lt;/LI-CODE&gt;&lt;P&gt;This post (&lt;A href="https://community.databricks.com/t5/community-platform-discussions/what-version-of-python-is-used-for-the-16-1-runtime/td-p/103350" target="_blank"&gt;https://community.databricks.com/t5/community-platform-discussions/what-version-of-python-is-used-for-the-16-1-runtime/td-p/103350&lt;/A&gt;) Describes python version 3.12.3 for DBR version 16.X. How can I update the notebook python version to the DBR python version?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 13:12:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/python-versions-notebooks-and-dbr/m-p/115411#M9337</guid>
      <dc:creator>Terje</dc:creator>
      <dc:date>2025-04-14T13:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Python versions - Notebooks and DBR</title>
      <link>https://community.databricks.com/t5/get-started-discussions/python-versions-notebooks-and-dbr/m-p/116067#M9861</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/157730"&gt;@Terje&lt;/a&gt;, were you able to fix it? From what I know, during the free trial period we’re limited to the default setup, so version mismatches can’t be resolved unless we upgrade to a paid workspace.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 13:14:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/python-versions-notebooks-and-dbr/m-p/116067#M9861</guid>
      <dc:creator>Renu_</dc:creator>
      <dc:date>2025-04-21T13:14:20Z</dc:date>
    </item>
  </channel>
</rss>

