Skip to content

Commit a5b20a9

Browse files
authored
Merge pull request #13651 from velconia/mac_py3
Fix pip install in mac
2 parents 2c4b839 + 4a7b9f7 commit a5b20a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ EOF
395395
ctest --output-on-failure -j $1
396396
# make install should also be test when unittest
397397
make install -j 8
398-
pip install /usr/local/opt/paddle/share/wheels/*.whl
398+
pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
399399
if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]] ; then
400400
paddle version
401401
fi

0 commit comments

Comments
 (0)