Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] I cannot install fish-speech. Is it related to the pip version? #502

Closed
wukongbuku opened this issue Aug 28, 2024 · 6 comments
Closed
Labels
bug Something isn't working

Comments

@wukongbuku
Copy link

pip3 install -e .[stable]
以上安装的时候,会有依赖冲突,导致无法正常安装(不同的pip版本有不同的依赖冲突。。。。)

Using cached https://pypi.tuna.tsinghua.edu.cn/packages/12/dd/f17b11a93a9ca27728e12512d167eb1281c151c4c6881d3ab59eb58f4127/transformers-4.35.2-py3-none-any.whl (7.9 MB)

ERROR: Cannot install fish-speech because these package versions have conflicting dependencies.
The conflict is caused by:
transformers 4.35.2 depends on tokenizers<0.19 and >=0.14
faster-whisper 0.7.1 depends on tokenizers==0.13.*

目前已经试了pip的三个版本了
pip==24.2
pip==23.0
pip==22.0

@wukongbuku wukongbuku added the bug Something isn't working label Aug 28, 2024
@wukongbuku wukongbuku changed the title [BUG]安装 fish-speech安装不上 [BUG]安装 fish-speech安装不上,是否和pip的版本有关系? Aug 28, 2024
@PoTaTo-Mika
Copy link
Collaborator

建议新建虚拟环境后pip install -e .
之后再根据缺少的函数库逐个安装。

@wukongbuku
Copy link
Author

建议新建虚拟环境后pip install -e . 之后再根据缺少的函数库逐个安装。

不行,主要是
from tools.tile import AUDlO EXIENSIONS
ModuleNotFoundError: No module named 'tools'
用命令行,推理的时候,报这个错误,然后 tools.tile是代码里的一个文件
加载不到,然后才反推到上边的。。。。

@wukongbuku
Copy link
Author

更新,看看是否默认清华源之类的了,好多都是新版本的包
得用默认源才行

@wukongbuku
Copy link
Author

在更,centos好像不支持,onnxruntime==1.18.1,最多1.16.3

@Stardust-minus
Copy link
Member

#515 Change title to English.

@Stardust-minus Stardust-minus changed the title [BUG]安装 fish-speech安装不上,是否和pip的版本有关系? [BUG] I cannot install fish-speech. Is it related to the pip version? Sep 8, 2024
@zsLin177
Copy link

建议新建虚拟环境后pip install -e . 之后再根据缺少的函数库逐个安装。

不行,主要是 from tools.tile import AUDlO EXIENSIONS ModuleNotFoundError: No module named 'tools' 用命令行,推理的时候,报这个错误,然后 tools.tile是代码里的一个文件 加载不到,然后才反推到上边的。。。。

你好,请问你解决了吗?我也遇到了一样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants