点击查看 Edge-TTS 配音渠道无法使用的解决办法!!!

#1992 (venv) D:\python\f5ttsnew>pip install -e . --trusted-host pypi.org --trusted-host files.pythonhosted.orgObtaining fil

23.165* Posted at: 1 day ago 👁16

(venv) D:\python\f5ttsnew>pip install -e . --trusted-host pypi.org --trusted-host files.pythonhosted.org
Obtaining file:///D:/python/f5ttsnew
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [9 lines of output]

  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', FileNotFoundError(2, 'No such file or directory'))': /simple/setuptools/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', FileNotFoundError(2, 'No such file or directory'))': /simple/setuptools/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', FileNotFoundError(2, 'No such file or directory'))': /simple/setuptools/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', FileNotFoundError(2, 'No such file or directory'))': /simple/setuptools/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', FileNotFoundError(2, 'No such file or directory'))': /simple/setuptools/
  ERROR: Could not find a version that satisfies the requirement setuptools>=61.0 (from versions: none)
  ERROR: No matching distribution found for setuptools>=61.0
  WARNING: You are using pip version 22.0.4; however, version 25.3 is available.
  You should consider upgrading via the 'D:\python\f5ttsnew\venv\Scripts\python.exe -m pip install --upgrade pip' command.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: You are using pip version 22.0.4; however, version 25.3 is available.
You should consider upgrading via the 'D:\python\f5ttsnew\venv\Scripts\python.exe -m pip install --upgrade pip' comm

1 Replies

您遇到的问题与 pyVideoTrans 软件本身无关,而是在安装其依赖项 F5-TTS 时,由于网络代理配置导致的 pip 安装失败。

核心原因是您的 pip 命令或系统环境变量中设置了代理,但代理地址(如 127.0.0.1:xxxx)对应的代理软件(如 Clash、V2Ray)未运行,导致 pip 无法连接到 PyPI 服务器下载 setuptools 等依赖包。

解决方法如下:

  1. 临时关闭代理进行安装(推荐):
    在命令提示符中,先取消代理设置,再执行安装命令。

    set http_proxy=
    set https_proxy=
    pip install -e .
  2. 如果方法1无效,使用国内镜像源加速:

    pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple
  3. 升级您的 pip 版本(错误日志已提示):
    在执行上述安装前,可以先升级 pip

    python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple

请注意: 此问题是您在部署 F5-TTS 环境时遇到的网络问题。pyVideoTrans 的预打包版(sp.exe)用户无需处理此问题。如果您是在为 pyVideoTrans 源码版配置 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