2

I have Apache Livy installed. Got this error when submit my code to Livy. How to change default Python Version in Apache Livy?

Exception: Python in worker has different version 3.5 than that in driver 2.6, PySpark cannot run with different minor versions

import sys
print(sys.version)

{'id': 2, 'state': 'available', 'output': {'data': {'text/plain': '2.6.6 (r266:84292, Jul 23 2015, 15:22:56) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]'}, 'status': 'ok', 'execution_count': 2}}

Thanks

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.