Details
-
Task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.8.0
-
None
-
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/py4jpython:
- 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.6Linux 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 - python3.6 -V
-
Important
Description
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"))
- Input form
-
-
-
- Select form
print (z.select("f1",[("o1","1"),("o2","2")],"2"))
- Select form
-
-
-
- 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
- Checkbox form
-
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] (
### 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