File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -197,12 +197,14 @@ def create_run_config(
197
197
apt-get clean -y && \
198
198
rm -rf /var/lib/apt/lists/*
199
199
# Conda Environment
200
+ # Pin pip=20.1.1 due to the issue: No module named 'ruamel'
201
+ # See https://learn.microsoft.com/en-us/python/api/overview/azure/ml/install?view=azure-ml-py#troubleshooting
200
202
ENV MINICONDA_VERSION py38_23.3.1-0
201
203
ENV PATH /opt/miniconda/bin:$PATH
202
204
ENV CONDA_PACKAGE 23.5.0
203
205
RUN wget -qO /tmp/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
204
206
bash /tmp/miniconda.sh -bf -p /opt/miniconda && \
205
- conda install conda=${CONDA_PACKAGE} -y && \
207
+ conda install -y conda=${CONDA_PACKAGE} python=3.8 pip=20.1.1 && \
206
208
conda update --all -c conda-forge -y && \
207
209
conda clean -ay && \
208
210
rm -rf /opt/miniconda/pkgs && \
You can’t perform that action at this time.
0 commit comments