Jeff:

   Checked that. And tried and explicit path to the python.
In the same notebook I created the following shell note.
Not sure why the ipython note is failing.
I added all the settings for the environment to zeppelin-env.sh which should
get them into the interpreter correct?

%sh
which python
python -V
conda info --envs
conda list -n py37 ipython
conda list -n py37 jupyter
which produces the output and shows the python environment is correct and ipython is installed:
/data01/zeppelin/miniconda/envs/py37/bin/python
Python 3.8.3
# conda environments:
#
base /data01/zeppelin/miniconda
py37 * /data01/zeppelin/miniconda/envs/py37
# packages in environment at /data01/zeppelin/miniconda/envs/py37:
#
# Name Version Build Channel
ipython 7.16.1 py38h5ca1d4c_0
ipython_genutils 0.2.0 py38_0
# packages in environment at /data01/zeppelin/miniconda/envs/py37:
#
# Name Version Build Channel
jupyter 1.0.0 py38_7
jupyter_client 6.1.3 py_0 conda-forge
jupyter_console 6.1.0 py_0
jupyter_core 4.6.3 py38_0 conda-forge

On 7/1/2020 1:25 AM, Jeff Zhang wrote:
Do you have multiple versions of python installed? You need to set zeppelin.python to the right python that has ipython installed.


David Boyd <db...@incadencecorp.com <mailto:db...@incadencecorp.com>> 于2020年7月1日周三 下午12:16写道:

    All:
        I am trying to run the ipython example in the tutorials.
    I have ipython installed.  From the conda environment:
       - ipython=7.16.1=py38h5ca1d4c_0
       - ipython_genutils=0.2.0=py38_0

    I am getting the following error:

    > org.apache.zeppelin.interpreter.InterpreterException:
    > org.apache.zeppelin.interpreter.InterpreterException: Fail to open
    > JupyterKernelInterpreter:
    > org.apache.zeppelin.interpreter.InterpreterException: Kernel
    > prerequisite is not meet: ipython is not installed. at
    >
    
org.apache.zeppelin.jupyter.JupyterKernelInterpreter.open(JupyterKernelInterpreter.java:116)

    > at
    >
    
org.apache.zeppelin.python.IPythonInterpreter.open(IPythonInterpreter.java:109)

    > at
    >
    
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)

    > at
    >
    
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:760)

    > at
    >
    
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:668)

    > at org.apache.zeppelin.scheduler.Job.run(Job.java:172) at
    >
    
org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:130)

    > at
    >
    
org.apache.zeppelin.scheduler.FIFOScheduler.lambda$runJobInScheduler$0(FIFOScheduler.java:39)

    > at
    >
    
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

    > at
    >
    
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

    > at java.lang.Thread.run(Thread.java:748) at
    >
    
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:76)

    > at
    >
    
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:760)

    > at
    >
    
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:668)

    > at org.apache.zeppelin.scheduler.Job.run(Job.java:172) at
    >
    
org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:130)

    > at
    >
    
org.apache.zeppelin.scheduler.FIFOScheduler.lambda$runJobInScheduler$0(FIFOScheduler.java:39)

    > at
    >
    
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

    > at
    >
    
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

    > at java.lang.Thread.run(Thread.java:748) Caused by:
    > org.apache.zeppelin.interpreter.InterpreterException: Fail to open
    > JupyterKernelInterpreter:
    > org.apache.zeppelin.interpreter.InterpreterException: Kernel
    > prerequisite is not meet: ipython is not installed. at
    >
    
org.apache.zeppelin.jupyter.JupyterKernelInterpreter.open(JupyterKernelInterpreter.java:116)

    > at
    >
    
org.apache.zeppelin.python.IPythonInterpreter.open(IPythonInterpreter.java:109)

    > at
    >
    
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)

    > at
    >
    
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:760)

    > at
    >
    
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:668)

    > at org.apache.zeppelin.scheduler.Job.run(Job.java:172) at
    >
    
org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:130)

    > at
    >
    
org.apache.zeppelin.scheduler.FIFOScheduler.lambda$runJobInScheduler$0(FIFOScheduler.java:39)

    > at
    >
    
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

    > at
    >
    
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

    > at java.lang.Thread.run(Thread.java:748) at
    >
    
org.apache.zeppelin.jupyter.JupyterKernelInterpreter.open(JupyterKernelInterpreter.java:132)

    > at
    >
    
org.apache.zeppelin.python.IPythonInterpreter.open(IPythonInterpreter.java:109)

    > at
    >
    
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)

    > ... 8 more Caused by:
    > org.apache.zeppelin.interpreter.InterpreterException: Kernel
    > prerequisite is not meet: ipython is not installed. at
    >
    
org.apache.zeppelin.jupyter.JupyterKernelInterpreter.open(JupyterKernelInterpreter.java:116)

    > ... 10 more

    Says ipython not installed.

-- ========= mailto:db...@incadencecorp.com
    <mailto:db...@incadencecorp.com> ============
    David W. Boyd
    VP,  Data Solutions
    10432 Balls Ford, Suite 240
    Manassas, VA 20109
    office:   +1-703-552-2862
    cell:     +1-703-402-7908
    ============== http://www.incadencecorp.com/
    <http://www.incadencecorp.com/> ============
    ISO/IEC JTC1 SC42/WG2, editor ISO/IEC 20546, ISO/IEC 20547-1
    Chair INCITS TG Big Data
    Co-chair NIST Big Data Public Working Group Reference Architecture
    First Robotic Mentor - FRC, FTC - www.iliterobotics.org
    <http://www.iliterobotics.org>
    Board Member- USSTEM Foundation - www.usstem.org
    <http://www.usstem.org>

    The information contained in this message may be privileged
    and/or confidential and protected from disclosure.
    If the reader of this message is not the intended recipient
    or an employee or agent responsible for delivering this message
    to the intended recipient, you are hereby notified that any
    dissemination, distribution or copying of this communication
    is strictly prohibited.  If you have received this communication
    in error, please notify the sender immediately by replying to
    this message and deleting the material from any computer.



--
Best Regards

Jeff Zhang

--
========= mailto:db...@incadencecorp.com ============
David W. Boyd
VP,  Data Solutions
10432 Balls Ford, Suite 240
Manassas, VA 20109
office:   +1-703-552-2862
cell:     +1-703-402-7908
============== http://www.incadencecorp.com/ ============
ISO/IEC JTC1 SC42/WG2, editor ISO/IEC 20546, ISO/IEC 20547-1
Chair INCITS TG Big Data
Co-chair NIST Big Data Public Working Group Reference Architecture
First Robotic Mentor - FRC, FTC - www.iliterobotics.org
Board Member- USSTEM Foundation - www.usstem.org

The information contained in this message may be privileged
and/or confidential and protected from disclosure.
If the reader of this message is not the intended recipient
or an employee or agent responsible for delivering this message
to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication
is strictly prohibited.  If you have received this communication
in error, please notify the sender immediately by replying to
this message and deleting the material from any computer.

Reply via email to