提交 a5dcd23b 编写于 作者: Y yangyaming

Follow comments.

上级 d35b7471
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
Please replace `$PADDLE_INSTALL_DIR` with your own paddle installation directory. Please replace `$PADDLE_INSTALL_DIR` with your own paddle installation directory.
``` ```
pip install -r requirements.txt sh setup.sh
export LD_LIBRARY_PATH=$PADDLE_INSTALL_DIR/Paddle/third_party/install/warpctc/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$PADDLE_INSTALL_DIR/Paddle/third_party/install/warpctc/lib:$LD_LIBRARY_PATH
``` ```
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
if [ -f 'requirements.txt' ]; then if [ -f 'requirements.txt' ]; then
pip install -r requirements.txt pip install -r requirements.txt
fi fi
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "Install python dependencies failed !!!"
exit 1 exit 1
fi fi
...@@ -23,6 +23,8 @@ rm -rf libsamplerate-0.1.9 ...@@ -23,6 +23,8 @@ rm -rf libsamplerate-0.1.9
rm libsamplerate-0.1.9.tar.gz rm libsamplerate-0.1.9.tar.gz
pip install scikits.samplerate==0.3.3 pip install scikits.samplerate==0.3.3
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "Install sckikits.samplerate failed !!!" echo "Install scikits.samplerate failed !!!"
exit 1 exit 1
fi fi
echo "Install all dependencies successfully."
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册