#2032 (venv) D:\python\f5ttsnew>pip3 install torch torchvision -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host p

240e:3bc* Posted at: 13 hours ago 👁8

(venv) D:\python\f5ttsnew>pip3 install torch torchvision -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting torch
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/67/95/a581e8a382596b69385a44bab2733f1273d45c842f5d4a504c0edc3133b6/torch-2.9.1-cp310-cp310-win_amd64.whl (111.0 MB)
Collecting torchvision
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d8/cf/0ff4007c09903199307da5f53a192ff5d62b45447069e9ef3a19bdc5ff12/torchvision-0.24.1-cp310-cp310-win_amd64.whl (3.7 MB)
Requirement already satisfied: filelock in d:\python\f5ttsnew\venv\lib\site-packages (from torch) (3.20.0)
Requirement already satisfied: typing-extensions>=4.10.0 in d:\python\f5ttsnew\venv\lib\site-packages (from torch) (4.15.0)
Requirement already satisfied: sympy>=1.13.3 in d:\python\f5ttsnew\venv\lib\site-packages (from torch) (1.14.0)
Requirement already satisfied: networkx>=2.5.1 in d:\python\f5ttsnew\venv\lib\site-packages (from torch) (3.4.2)
Requirement already satisfied: jinja2 in d:\python\f5ttsnew\venv\lib\site-packages (from torch) (3.1.6)
Requirement already satisfied: fsspec>=0.8.5 in d:\python\f5ttsnew\venv\lib\site-packages (from torch) (2025.10.0)
Requirement already satisfied: numpy in d:\python\f5ttsnew\venv\lib\site-packages (from torchvision) (1.26.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in d:\python\f5ttsnew\venv\lib\site-packages (from torchvision) (11.3.0)
Requirement already satisfied: mpmath=1.1.0 in d:\python\f5ttsnew\venv\lib\site-packages (from sympy>=1.13.3->torch) (1.3.0)
Requirement already satisfied: MarkupSafe>=2.0 in d:\python\f5ttsnew\venv\lib\site-packages (from jinja2->torch) (3.0.3)
Installing collected packages: torch, torchvision
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
encodec 0.1.1 requires torchaudio, which is not installed.
f5-tts 1.1.10 requires torchaudio>=2.0.0, which is not installed.
vocos 0.1.0 requires torchaudio, which is not installed.
Successfully installed torch-2.9.1 torchvision-0.24.1

1 Replies

您提供的日志显示在安装 PyTorch 时缺少 torchaudio 依赖,这是 F5-TTS 等语音合成库所必需的。

请运行以下命令安装 torchaudio 以解决依赖冲突:

pip3 install torchaudio -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn

安装完成后,F5-TTS 应该可以正常使用。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions