hmm, that means you have multiple python installed. And the default python don't have py4j installed.
Dominique Fabre <[email protected]>于2017年1月3日周二 下午9:01写道: > I changed the properties zeppelin.python from python interpreter from > value python to value /usr/bin/python. > > The issue is resolved now. > > Thanks all! > > 2017-01-03 13:49 GMT+01:00 Dominique Fabre <[email protected]>: > > I installed py4j too. > > py4j is in the directory /usr/lib/python2.7/site-packages/py4j > > Here the log from interpreter-python log: > INFO [2017-01-03 13:44:29,231] ({pool-2-thread-11} > SchedulerFactory.java[jobStarted]:131) - Job > remoteInterpretJob_1483447469231 started by scheduler > org.apache.zeppelin.python.PythonInterpreter1157069394 > INFO [2017-01-03 13:44:29,233] ({pool-2-thread-11} > SchedulerFactory.java[jobFinished]:137) - Job > remoteInterpretJob_1483447469231 finished by scheduler > org.apache.zeppelin.python.PythonInterpreter1157069394 > > > > 2017-01-03 8:47 GMT+01:00 Felix Cheung <[email protected]>: > > You said you ran > > sudo pip install pyplot > > I think you need to pip install py4j instead? > > _____________________________ > From: Jianfeng (Jeff) Zhang <[email protected]> > Sent: Monday, January 2, 2017 4:24 PM > Subject: Re: py4j doesn't work with python interpreter > To: <[email protected]> > > > > Could you attache the interpreter log ? > > > Best Regard, > Jeff Zhang > > > From: Dominique Fabre <[email protected]> > Reply-To: "[email protected]" <[email protected]> > Date: Monday, January 2, 2017 at 9:09 PM > To: "[email protected]" <[email protected]> > Subject: py4j doesn't work with python interpreter > > Hi all, > > I installed py4j with "pipe install" command: sudo pip install pyplot. > > When i try to use dynamic form with python intrepeter in a paragraph: > > %python > print (z.input("f1","defaultValue")) > > i have this result: > You must install py4j Python module (pip install py4j) to use Zeppelin > dynamic forms features > > Is there any other configuration or installation required to run this > paragraph? > > Thanks > > Dominique > > > > >
