提交 576e7d71 编写于 作者: J JiabinYang

test=develop, fix pip

上级 c2a5d971
......@@ -125,6 +125,8 @@ function cmake_gen() {
else
if [ "$1" != "" ]; then
echo "using python abi: $1"
pip uninstall -y protobuf
pip install -r ${PADDLE_ROOT}/python/requirements.txt
if [ "$1" == "cp27-cp27m" ]; then
export LD_LIBRARY_PATH=/opt/_internal/cpython-2.7.11-ucs2/lib:${LD_LIBRARY_PATH#/opt/_internal/cpython-2.7.11-ucs4/lib:}
export PATH=/opt/python/cp27-cp27m/bin/:${PATH}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册