<?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 Error running Zeppelin pyspark interpreter with Python3 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-running-Zeppelin-pyspark-interpreter-with-Python3/m-p/180727#M142970</link>
    <description>&lt;P&gt;Trying to use Zeppelin pyspark interpreter with python3, I set "python" parameter in the interpreter to my python3 path, and have installed python3 on all worker nodes in the cluster at the same path, getting error when running simple commands:&lt;/P&gt;&lt;PRE&gt;%pyspark
file = sc.textFile("/data/x1")
file.take(3)
Exception: Python in worker has different version 2.7 than that in driver 3.5, PySpark cannot run with different minor versions&lt;/PRE&gt;&lt;P&gt;It works from the command line, using "pyspark" after exporting PYSPARK_PYTHON set to my python3 path. But how to tell this to Zeppelin? I haven't changed anything else. Actually, as the next step I'd like to create 2 spark interpreters, one to run on python2 and another on python3.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2017 18:54:52 GMT</pubDate>
    <dc:creator>pminovic</dc:creator>
    <dc:date>2017-03-30T18:54:52Z</dc:date>
  </channel>
</rss>

