编译安装python之前一定要先升级openssl和gcc
python3.x编译安装
# 注意 configure 这一步,一定要加上openssl选项
./configure prefix=/usr/local/python3 --with-openssl=/usr/local/openssl
- pip更换国内源
vim ~/.pip/pip.conf
[global]
index-url = http://mirror.baidu.com/pypi/simple
[install]
trusted-host = mirror.baidu.com/pypi/simple
编译paddlespeech r1.4
pip install paddlepaddle
git clone -b r1.4 https://gitee.com/paddlepaddle/PaddleSpeech
cd PaddleSpeech
pip install pytest-runner
pip install . -i https://pypi.tuna.tsingh