我已经安装了蟒蛇在 Docker Ubuntu 16.04LTS 中
RUN \
curl -O https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh && \
yes "yes" | bash Anaconda3-4.2.0-Linux-x86_64.sh && \
sudo -s source ~/.bashrc
但当我这样做时
RUN conda list
我收到一个/bin/sh: 1: conda: not found
错误。
根据anaconda
install In order to activate the installation, you should source the ~/.bashrc file:
,但在这种情况下这似乎不起作用。