MALOUDA-PSA 2025-05-31 15:36 采纳率: 85.6%
浏览 8

osx安装rasa报错


(rasa_env) mcdeMacBook-Pro:python mc$ pip install "rasa==3.6.21" -i https://pypi.tuna.tsinghua.edu.cn/simple
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)'))': /simple/rasa/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)'))': /simple/rasa/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)'))': /simple/rasa/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)'))': /simple/rasa/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)'))': /simple/rasa/
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/rasa/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/rasa/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)'))) - skipping
ERROR: Could not find a version that satisfies the requirement rasa==3.6.21 (from versions: none)
ERROR: No matching distribution found for rasa==3.6.21
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(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)'))) - skipping
  • 写回答

5条回答 默认 最新

  • 阿里嘎多学长 2025-05-31 15:36
    关注

    阿里嘎多学长整理AIGC生成,因移动端显示问题导致当前答案未能完全显示,请使用PC端查看更加详细的解答过程

    osx安装rasa报错

    你遇到了安装 Rasa 的问题,错误信息如下:

    pip install "rasa==3.6.21" -i https://pypi.tuna.tsinghua.edu.
    

    可能的解决方案:

    1. 检查 pip 版本:确保你使用的是最新版本的 pip,命令为 pip --version。如果不是最新版本,可以使用 pip install --upgrade pip 更新 pip。
    2. 检查 Rasa 的依赖项:Rasa 需要一些依赖项,例如 python-dotenvrasa-sdk 等。可以使用 pip install -r requirements.txt 安装依赖项。
    3. 检查 Python 版本:Rasa 支持 Python 3.7 及更高版本。如果你使用的是 Python 3.6,可以升级到 Python 3.7 或更高版本。
    4. 检查网络连接:确保你能够连接到 PyPI 仓库,命令为 pip install --index-url https://pypi.tuna.tsinghua.edu. --trusted-host pypi.tuna.tsinghua.edu.

    如果以上解决方案都不能解决问题,可以提供更多的错误信息或日志,以便更好地 debug。

    评论

报告相同问题?

问题事件

  • 创建了问题 5月31日