2 Approaches: 1. create 2 spark interpreters, one with python2 and another with python3 2. use generic configuration interpreter. https://medium.com/@zjffdu/zeppelin-0-8-0-new-features-ea53e8810235
Manuel Sopena Ballesteros <manuel...@garvan.org.au> 于2019年8月12日周一 下午3:41写道: > > > Dear Zeppelin community, > > > > I have a zeppelin installation and a spark cluster. I need to provide > options for users to run either python2 or 3 code using pyspark. At the > moment the only way of doing this is by editing the spark interpreter and > changing the `zeppelin.pyspark.python` from python to python3.6. > > Is there a way to copy/duplicate the spark interpreter one with python2 > and the other with python3 so I can chose which one to use without leaving > the notebook? > > > > Thank you > > > NOTICE > Please consider the environment before printing this email. This message > and any attachments are intended for the addressee named and may contain > legally privileged/confidential/copyright information. If you are not the > intended recipient, you should not read, use, disclose, copy or distribute > this communication. If you have received this message in error please > notify us at once by return email and then delete both messages. We accept > no liability for the distribution of viruses or similar in electronic > communications. This notice should not be removed. > -- Best Regards Jeff Zhang