Follow comments.

pull/2/head
yangyaming 8 years ago
parent d35b747175
commit a5dcd23bf2

@ -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 @@
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
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."

Loading…
Cancel
Save