cuiqingxin created ZEPPELIN-2902: ------------------------------------ Summary: You must install py4j Python module (pip install py4j) to use Zeppelin dynamic forms features Key: ZEPPELIN-2902 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2902 Project: Zeppelin Issue Type: Task Components: python-interpreter Affects Versions: 0.8.0 Environment: Linux 3.10.0-514.21.2.el7.x86_64 #1 SMP Tue Jun 20 12:24:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
py4j: /usr/anaconda3/lib/python3.6/site-packages/py4j /usr/anaconda3/share/py4j /app/program/python-3.6.2/lib/python3.6/site-packages/py4j /app/program/python-3.6.2/share/py4j python: # python3.6 -V Python 3.6.1 :: Anaconda 4.4.0 (64-bit) python interpreter: zeppelin.interpreter.localRepo: //data/MFA_Code/MFA-0.8.0/local-repo/2CP6K2KHJ zeppelin.interpreter.output.limit: 10240000 zeppelin.python: python3.6 Reporter: cuiqingxin Priority: Minor Fix For: 0.8.0 My zeppelin python interpreter use Anaconda 4.4.0 when i use the code from https://zeppelin.apache.org/docs/0.7.0/interpreter/python.html ( %python ### Input form print (z.input("f1","defaultValue")) ### Select form print (z.select("f1",[("o1","1"),("o2","2")],"2")) ### Checkbox form print("".join(z.checkbox("f3", [("o1","1"), ("o2","2")],["1"]))) ) the rusult is : You must install py4j Python module (pip install py4j) to use Zeppelin dynamic forms features I had already installed py4j by pip install py4j,I use mach time to check but i cannot solve.The log have not error.I changed zeppelin.python to absolute path but cannot solve. I cannot establish it cause by python,or by zeppelin.I need ask some body to help,thinks. --------------------------------------------------------------------- python-interpreter-log: INFO [2017-09-04 11:51:50,420] ({pool-2-thread-75} PythonInterpreter.java[sendCommandToPython]:200) - Sending : ### Input form print (z.input("f1","defaultValue")) ### Select form #print (z.select("f2",[("o1","1"),("o2","2")],"2")) ### Checkbox form # print ("".join(z.checkbox("f3", [("o1","1"), ("o2","2")],[... INFO [2017-09-04 11:51:50,422] ({pool-2-thread-75} SchedulerFactory.java[jobFinished]:137) - Job remoteInterpretJob_1504497110420 finished by scheduler org.apache.zeppelin.python.PythonInterpreter893862673 -- This message was sent by Atlassian JIRA (v6.4.14#64029)