From 2925f0089a92f345a17725abd28e2cde02252f2e Mon Sep 17 00:00:00 2001 From: qijun Date: Thu, 20 Apr 2017 19:36:15 +0800 Subject: [PATCH] fix wrong path of pip install *whl --- paddle/scripts/docker/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index c1e3f39888f..6f7b97021da 100644 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -42,7 +42,7 @@ if [[ ${RUN_TEST:-OFF} == "ON" ]]; then make coveralls fi make install -pip install /usr/opt/paddle/share/wheels/*.whl +pip install /usr/local/opt/paddle/share/wheels/*.whl if [ ${WITH_DOC} == "ON" ]; then mkdir -p /paddle/build_doc @@ -111,7 +111,7 @@ ADD build/*.deb /usr/local/opt/paddle/deb/ # run paddle version to install python packages first RUN dpkg -i /usr/local/opt/paddle/deb/*.deb && \ rm -f /usr/local/opt/paddle/deb/*.deb && \ - pip install /usr/opt/paddle/share/wheels/*.whl && \ + pip install /usr/local/opt/paddle/share/wheels/*.whl && \ paddle version ${CPU_DOCKER_PYTHON_HOME_ENV} ${DOCKERFILE_CUDNN_DSO} -- GitLab