Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-2902

You must install py4j Python module (pip install py4j) to use Zeppelin dynamic forms features

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.8.0
    • None
    • python-interpreter
    • 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

          1. Input form
            print (z.input("f1","defaultValue"))
          1. Select form
            print (z.select("f1",[("o1","1"),("o2","2")],"2"))
          1. 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            puppycui cuiqingxin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified