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

#1993 (venv) D:\python\f5ttsnew>python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simpleLooking in i

23.165* Posted at: 1 day ago 👁18

(venv) D:\python\f5ttsnew>python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: pip in d:\python\f5ttsnew\venv\lib\site-packages (22.0.4)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/pip/
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))) - skipping
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.

1 Replies

您遇到的 SSL 连接错误与 pyVideoTrans 软件本身无关,这是在使用 pip 升级时,与清华大学镜像源(pypi.tuna.tsinghua.edu.cn)的 HTTPS 连接出现了问题。

请按以下步骤解决:

  1. 临时解决方案(绕过SSL验证):在您的命令中添加 --trusted-host 参数。

    python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
  2. 更换镜像源:如果上述方法无效,可以尝试更换为其他国内镜像源,例如阿里云。

    python -m pip install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple/
  3. 使用默认源:直接使用 pip 的官方源(速度可能较慢,但连接稳定)。

    python -m pip install --upgrade pip

重要提示:此问题是 Python 包管理器 pip 的网络连接问题,不影响 pyVideoTrans 软件的安装和运行。如果您在部署 pyVideoTrans 源码时遇到此问题,请使用上述任一方法先成功升级 pip,然后再执行 uv syncpip install -r requirements.txt 来安装软件依赖。

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