Jeff:

   So I got the worst of this fixed by blowing away my python virtual env and rebuilding it
but using pip instead of conda for most installs.

Attached is my current environment.yml file that works.  This may be something
to think about building and including in the distribution.

I am down to an error with bkzep now on some of the visualizations.
The error is bundle not defined.

Any suggestions?

On 7/1/2020 9:57 AM, Jeff Zhang wrote:
What error do you see now ?

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

    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 <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.

name: py37
channels:
  - defaults
dependencies:
  - _libgcc_mutex=0.1=main
  - blas=1.0=mkl
  - ca-certificates=2020.6.24=0
  - certifi=2020.6.20=py37_0
  - cycler=0.10.0=py37_0
  - dbus=1.13.16=hb2f20db_0
  - expat=2.2.9=he6710b0_2
  - fontconfig=2.13.0=h9420a91_0
  - freetype=2.10.2=h5ab3b9f_0
  - glib=2.65.0=h3eb4bd4_0
  - gst-plugins-base=1.14.0=hbbd80ab_1
  - gstreamer=1.14.0=hb31296c_0
  - icu=58.2=he6710b0_3
  - intel-openmp=2020.1=217
  - jpeg=9b=h024ee3a_2
  - kiwisolver=1.2.0=py37hfd86e86_0
  - ld_impl_linux-64=2.33.1=h53a641e_7
  - libedit=3.1.20191231=h7b6447c_0
  - libffi=3.3=he6710b0_1
  - libgcc-ng=9.1.0=hdf63c60_0
  - libgfortran-ng=7.3.0=hdf63c60_0
  - libpng=1.6.37=hbc83047_0
  - libstdcxx-ng=9.1.0=hdf63c60_0
  - libuuid=1.0.3=h1bed415_2
  - libxcb=1.14=h7b6447c_0
  - libxml2=2.9.10=he19cac6_1
  - matplotlib=3.2.2=0
  - matplotlib-base=3.2.2=py37hef1b27d_0
  - mkl=2020.1=217
  - mkl-service=2.3.0=py37he904b0f_0
  - mkl_fft=1.1.0=py37h23d657b_0
  - mkl_random=1.1.1=py37h0573a6f_0
  - ncurses=6.2=he6710b0_1
  - numpy=1.18.5=py37ha1c710e_0
  - numpy-base=1.18.5=py37hde5b4d6_0
  - openssl=1.1.1g=h7b6447c_0
  - pandas=1.0.5=py37h0573a6f_0
  - pcre=8.44=he6710b0_0
  - pip=20.1.1=py37_1
  - pyparsing=2.4.7=py_0
  - pyqt=5.9.2=py37h05f1152_2
  - python=3.7.7=hcff3b4d_5
  - python-dateutil=2.8.1=py_0
  - pytz=2020.1=py_0
  - qt=5.9.7=h5867ecd_1
  - readline=8.0=h7b6447c_0
  - seaborn=0.10.1=py_0
  - setuptools=47.3.1=py37_0
  - sip=4.19.8=py37hf484d3e_0
  - six=1.15.0=py_0
  - sqlite=3.32.3=h62c20be_0
  - tk=8.6.10=hbc83047_0
  - tornado=6.0.4=py37h7b6447c_1
  - wheel=0.34.2=py37_0
  - xz=5.2.5=h7b6447c_0
  - zlib=1.2.11=h7b6447c_3
  - pip:
    - absl-py==0.9.0
    - altair==4.1.0
    - appdirs==1.4.4
    - asciitree==0.3.3
    - astunparse==1.6.3
    - attrs==19.3.0
    - backcall==0.2.0
    - bkzep==0.6.1
    - bleach==3.1.5
    - bokeh==2.1.1
    - cachetools==4.1.1
    - cftime==1.1.3
    - chardet==3.0.4
    - cloudpickle==1.4.1
    - colorcet==2.0.2
    - dask==2.19.0
    - decorator==4.4.2
    - defusedxml==0.6.0
    - descartes==1.1.0
    - entrypoints==0.3
    - fasteners==0.15
    - fastparquet==0.4.0
    - fsspec==0.7.4
    - gast==0.3.3
    - google-auth==1.18.0
    - google-auth-oauthlib==0.4.1
    - google-pasta==0.2.0
    - grpcio==1.30.0
    - h5py==2.10.0
    - holoviews==1.13.3
    - hvplot==0.6.0
    - idna==2.10
    - importlib-metadata==1.7.0
    - intake==0.6.0
    - intake-parquet==0.2.3
    - intake-xarray==0.3.1
    - ipykernel==5.3.0
    - ipython==7.16.1
    - ipython-genutils==0.2.0
    - ipywidgets==7.5.1
    - jedi==0.17.1
    - jinja2==2.11.2
    - jsonschema==3.2.0
    - jupyter==1.0.0
    - jupyter-client==6.1.5
    - jupyter-console==6.1.0
    - jupyter-core==4.6.3
    - keras==2.4.3
    - keras-preprocessing==1.1.2
    - llvmlite==0.33.0
    - locket==0.2.0
    - markdown==3.2.2
    - markupsafe==1.1.1
    - mistune==0.8.4
    - mizani==0.7.1
    - monotonic==1.5
    - msgpack==1.0.0
    - nbconvert==5.6.1
    - nbformat==5.0.7
    - netcdf4==1.5.3
    - notebook==6.0.3
    - numba==0.50.1
    - numcodecs==0.6.4
    - oauthlib==3.1.0
    - opt-einsum==3.2.1
    - packaging==20.4
    - palettable==3.3.0
    - pandocfilters==1.4.2
    - panel==0.9.7
    - param==1.9.3
    - parso==0.7.0
    - partd==1.1.0
    - patsy==0.5.1
    - pexpect==4.8.0
    - pickleshare==0.7.5
    - pillow==7.2.0
    - plotnine==0.7.0
    - prometheus-client==0.8.0
    - prompt-toolkit==3.0.5
    - protobuf==3.12.2
    - ptyprocess==0.6.0
    - pyarrow==0.17.1
    - pyasn1==0.4.8
    - pyasn1-modules==0.2.8
    - pyct==0.4.6
    - pygments==2.6.1
    - pyrsistent==0.16.0
    - pyviz-comms==0.7.5
    - pyyaml==5.3.1
    - pyzmq==19.0.1
    - qtconsole==4.7.5
    - qtpy==1.9.0
    - requests==2.24.0
    - requests-oauthlib==1.3.0
    - rsa==4.6
    - scipy==1.4.1
    - send2trash==1.5.0
    - statsmodels==0.11.1
    - tensorboard==2.2.2
    - tensorboard-plugin-wit==1.7.0
    - tensorflow-estimator==2.2.0
    - termcolor==1.1.0
    - terminado==0.8.3
    - testpath==0.4.4
    - thrift==0.13.0
    - toolz==0.10.0
    - tqdm==4.47.0
    - traitlets==4.3.3
    - typing-extensions==3.7.4.2
    - urllib3==1.25.9
    - vega-datasets==0.8.0
    - wcwidth==0.2.5
    - webencodings==0.5.1
    - werkzeug==1.0.1
    - widgetsnbextension==3.5.1
    - wrapt==1.12.1
    - xarray==0.15.1
    - zarr==2.4.0
    - zipp==3.1.0
prefix: /data01/zeppelin/miniconda/envs/py37

Reply via email to