使用whisper,還需安裝setuptools-rust: 1 pipinstallsetuptools-rust 但是,whisper安裝時(shí),自帶的pytorch可能有些bug,因此需要卸載重裝: 卸載: 1 pip uninstall torch 重裝: 1 pipinstalltorch 另外,需要通過(guò)choco安裝ffmpeg庫(kù)。先通過(guò)管理員權(quán)限的PowerShell安裝choco: Set-ExecutionPolicy Bypass -Scope Process -Force; ...
www.dbjr.com.cn/python/3181404...htm 2025-5-27