File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ RUN localedef -i en_US -f UTF-8 en_US.UTF-8
70
70
# specify sphinx version as 1.5.6 and remove -U option for [pip install -U
71
71
# sphinx-rtd-theme] since -U option will cause sphinx being updated to newest
72
72
# version(1.7.1 for now), which causes building documentation failed.
73
- RUN pip install --upgrade pip==9.0.3 && \
73
+ RUN easy_install -U pip && \
74
74
pip install -U wheel && \
75
75
pip install -U docopt PyYAML sphinx==1.5.6 && \
76
76
pip install sphinx-rtd-theme==0.1.9 recommonmark
Original file line number Diff line number Diff line change 198
198
# run paddle version to install python packages first
199
199
RUN apt-get update &&\
200
200
${NCCL_DEPS} \
201
- apt-get install -y wget python-pip dmidecode python-tk && pip install -U pip==9.0.3 && \
201
+ apt-get install -y wget python-pip dmidecode python-tk && easy_install -U pip && \
202
202
pip install /*.whl; apt-get install -f -y && \
203
203
apt-get clean -y && \
204
204
rm -f /*.whl && \
Original file line number Diff line number Diff line change 449
449
# run paddle version to install python packages first
450
450
RUN apt-get update &&\
451
451
${NCCL_DEPS} \
452
- apt-get install -y wget python-pip dmidecode python-tk && pip install -U pip==9.0.3 && \
452
+ apt-get install -y wget python-pip dmidecode python-tk && easy_install -U pip && \
453
453
pip install /*.whl; apt-get install -f -y && \
454
454
apt-get clean -y && \
455
455
rm -f /*.whl && \
You can’t perform that action at this time.
0 commit comments