mli / autocut

用文本编辑器剪视频
Apache License 2.0
6.6k stars 659 forks source link

使用 whisper 指定版本 #97

Closed zk4 closed 1 year ago

zk4 commented 1 year ago

Python 3.9.5 环境下 , 在 autocut 工程里 pip install . 时, 安装最新的 whisper 会报错. 修改 setup.py 里安装包为指定版本.

ERROR: Could not find a version that satisfies the requirement whisper (unavailable) (from autocut) (from versions: 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 0.9.12, 0.9.13, 0.9.14, 0.9.15, 0.9.16, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10)
ERROR: No matching distribution found for whisper (unavailable)
chenqianhe commented 1 year ago

修改成 openai-whisper 是对的,但是这个不应该指定版本吧,应该通过指定 pypi 源解决找不到版本问题。能说下具体什么情况吗必须要指定这个版本,是 api 出现 breakchange 吗?