@fklezin
I think your zeppelin is not aware of the python version in the Zeppelin config at /usr/hdp/current/zeppelin-server/conf/interpreter.json, and change the below line 30 in the config:
"zeppelin.pyspark.python": {
"type": "string",
"name": "zeppelin.pyspark.python",
"value": "python"
},
To
"zeppelin.pyspark.python": {
"type": "string",
"name": "zeppelin.pyspark.python3",
"value": "python"
},
Make sure you have these values in Ambari UI--> Zeppelin-->Config-->Advanced zeppelin-env
export PYSPARK_PYTHON=python3
export PYSPARK_DRIVER_PYTHON=python3
Restart Zeppelin and retry