1、 下载whisper
pip install -U openai-whisper -i https://mirror.baidu.com/pypi/simple
#查看是否安装成功
whisper -h
2、安装ffmpeg
apt-get update
apt-get install sudo
sudo apt update && sudo apt install ffmpeg
#查看是否安装成功
ffmpeg --version
3、找不到whisper,软链接问题
#查找whisper相关路径
find / -name whisper
#映射whisper路径到bin文件下
ln -s find路径 /usr/bin/whisper
4、安装工具包
pip install setuptools-rust