You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by zhang hao <zh...@gmail.com> on 2021/04/14 09:40:30 UTC

when i build a zeppelin docker image throw PackagesNotFoundError:

[image: image.png]
the. docker file is simple  :
FROM apache/zeppelin:0.9.0
USER root
RUN conda install tensorflow
ENTRYPOINT [ "/usr/bin/tini", "--" ]
CMD ["bin/zeppelin.sh"]


how to solve this problem?

Re: when i build a zeppelin docker image throw PackagesNotFoundError:

Posted by Philipp Dallig <ph...@gmail.com>.
I can reproduce your error. I don't know the cause, but I know a workaround.

Please use mamba to install tensorflow: "mamba install tensorflow -c 
conda-forge"

More informations about mamba: https://github.com/mamba-org/mamba
Zeppelin uses Mamba because the Python and R environment is very large 
and mamba is many times faster. 
https://github.com/apache/zeppelin/blob/e0e2ca5f8087d8f47a9fba4bfe736b53a565cb11/scripts/docker/zeppelin/bin/Dockerfile#L53

Best regards
Philipp


Am 14.04.21 um 11:40 schrieb zhang hao:
> image.png
> the. docker file is simpleĀ  :
> FROM apache/zeppelin:0.9.0
> USER root
> RUN conda install tensorflow
> ENTRYPOINT [ "/usr/bin/tini", "--" ]
> CMD ["bin/zeppelin.sh"]
>
>
> how to solve this problem?
>