(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
osx安装rasa报错
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
5条回答 默认 最新
阿里嘎多学长 2025-05-31 15:36关注阿里嘎多学长整理AIGC生成,因移动端显示问题导致当前答案未能完全显示,请使用PC端查看更加详细的解答过程
osx安装rasa报错
你遇到了安装 Rasa 的问题,错误信息如下:
pip install "rasa==3.6.21" -i https://pypi.tuna.tsinghua.edu.可能的解决方案:
- 检查 pip 版本:确保你使用的是最新版本的 pip,命令为
pip --version。如果不是最新版本,可以使用pip install --upgrade pip更新 pip。 - 检查 Rasa 的依赖项:Rasa 需要一些依赖项,例如
python-dotenv、rasa-sdk等。可以使用pip install -r requirements.txt安装依赖项。 - 检查 Python 版本:Rasa 支持 Python 3.7 及更高版本。如果你使用的是 Python 3.6,可以升级到 Python 3.7 或更高版本。
- 检查网络连接:确保你能够连接到 PyPI 仓库,命令为
pip install --index-url https://pypi.tuna.tsinghua.edu. --trusted-host pypi.tuna.tsinghua.edu.。
如果以上解决方案都不能解决问题,可以提供更多的错误信息或日志,以便更好地 debug。
解决 无用评论 打赏 举报- 检查 pip 版本:确保你使用的是最新版本的 pip,命令为