Skip to content

Commit 2925f00

Browse files
committed
fix wrong path of pip install *whl
1 parent 0344c08 commit 2925f00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/scripts/docker/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if [[ ${RUN_TEST:-OFF} == "ON" ]]; then
4242
make coveralls
4343
fi
4444
make install
45-
pip install /usr/opt/paddle/share/wheels/*.whl
45+
pip install /usr/local/opt/paddle/share/wheels/*.whl
4646

4747
if [ ${WITH_DOC} == "ON" ]; then
4848
mkdir -p /paddle/build_doc
@@ -111,7 +111,7 @@ ADD build/*.deb /usr/local/opt/paddle/deb/
111111
# run paddle version to install python packages first
112112
RUN dpkg -i /usr/local/opt/paddle/deb/*.deb && \
113113
rm -f /usr/local/opt/paddle/deb/*.deb && \
114-
pip install /usr/opt/paddle/share/wheels/*.whl && \
114+
pip install /usr/local/opt/paddle/share/wheels/*.whl && \
115115
paddle version
116116
${CPU_DOCKER_PYTHON_HOME_ENV}
117117
${DOCKERFILE_CUDNN_DSO}

0 commit comments

Comments
 (0)