<?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>question Re: python 3.6 or higher installation on CDP in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/python-3-6-or-higher-installation-on-CDP/m-p/309464#M223837</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84376"&gt;@Mamun_Shaheed&lt;/a&gt;&amp;nbsp;CDP doesn’t support Python 3 and higher for CDH services. Here is the &lt;A href="https://docs.cloudera.com/cdp-private-cloud/latest/release-guide/topics/cdpdc-os-requirements.html" target="_self"&gt;Software Dependency&lt;/A&gt; Note for reference:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;Python&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;CDP Private Cloud Base&lt;/SPAN&gt;&lt;SPAN&gt;, with the exceptions of Hue and Spark, is supported on the Python version that is included in the operating system by default, as well as higher versions, but is not compatible with Python 3.0 or higher.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;For example,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;CDP Private Cloud Base&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;requires Python 2.7 or higher on RHEL 7 compatible operating systems.&lt;BR /&gt;&lt;BR /&gt;Spark 2 requires Python 2.7 or higher, and supports Python 3. If the right level of Python is not picked up by default, set the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PYSPARK_PYTHON&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PYSPARK_DRIVER_PYTHON&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;environment variables to point to the correct Python executable before running the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="keyword cmdname"&gt;pyspark&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I am assuming you want to use Python 3 for CDSW etc. For that you can use custom engine with required Python version which is independent with CDH services. Some reference docs are below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/data-science-workbench/1-8-x/topics/cdsw_extensible_engines.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/documentation/data-science-workbench/1-8-x/topics/cdsw_extensible_engines.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short you can use the distinct Python in hosts but just make sure Cloudera services are using only the supported Python version.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 13:10:50 GMT</pubDate>
    <dc:creator>GangWar</dc:creator>
    <dc:date>2021-01-12T13:10:50Z</dc:date>
    <item>
      <title>python 3.6 or higher installation on CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/python-3-6-or-higher-installation-on-CDP/m-p/309444#M223834</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We are deploying on premise CDP 7.3 with CDSW 1.8 over RHEL 7.8 which comes with python 2.6 as default. Now we are planning to upgrade python to 3.6. Is there any specific steps I need to take in cluster config beside yum installation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 11:25:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/python-3-6-or-higher-installation-on-CDP/m-p/309444#M223834</guid>
      <dc:creator>Mamun_Shaheed</dc:creator>
      <dc:date>2021-01-12T11:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: python 3.6 or higher installation on CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/python-3-6-or-higher-installation-on-CDP/m-p/309464#M223837</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84376"&gt;@Mamun_Shaheed&lt;/a&gt;&amp;nbsp;CDP doesn’t support Python 3 and higher for CDH services. Here is the &lt;A href="https://docs.cloudera.com/cdp-private-cloud/latest/release-guide/topics/cdpdc-os-requirements.html" target="_self"&gt;Software Dependency&lt;/A&gt; Note for reference:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;Python&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;CDP Private Cloud Base&lt;/SPAN&gt;&lt;SPAN&gt;, with the exceptions of Hue and Spark, is supported on the Python version that is included in the operating system by default, as well as higher versions, but is not compatible with Python 3.0 or higher.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;For example,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;CDP Private Cloud Base&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;requires Python 2.7 or higher on RHEL 7 compatible operating systems.&lt;BR /&gt;&lt;BR /&gt;Spark 2 requires Python 2.7 or higher, and supports Python 3. If the right level of Python is not picked up by default, set the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PYSPARK_PYTHON&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PYSPARK_DRIVER_PYTHON&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;environment variables to point to the correct Python executable before running the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="keyword cmdname"&gt;pyspark&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I am assuming you want to use Python 3 for CDSW etc. For that you can use custom engine with required Python version which is independent with CDH services. Some reference docs are below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/data-science-workbench/1-8-x/topics/cdsw_extensible_engines.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/documentation/data-science-workbench/1-8-x/topics/cdsw_extensible_engines.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short you can use the distinct Python in hosts but just make sure Cloudera services are using only the supported Python version.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 13:10:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/python-3-6-or-higher-installation-on-CDP/m-p/309464#M223837</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2021-01-12T13:10:50Z</dc:date>
    </item>
  </channel>
</rss>

