You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

macOS下使用Python3.9安装Pyrebase4时出现日志错误

Pyrebase4兼容问题说明

我选择使用Python 3.9和pip 3.9,是因为Pyrebase4无法兼容Python 3.10.5及对应的pip3版本。在Python 3.10.5环境下尝试安装Pyrebase4时,会触发如下日志错误:

--- 日志记录错误 ---
回溯(最近的调用最后):
  文件 "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py",第177行,在emit方法中
    self.console.print(renderable, overflow="ignore", crop=False, style=style)

...

文件 "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py",第179行,在emit方法中
    self.handleError(record)
消息: '[present-rich] %s'
参数: (UpgradePrompt(old='22.1.2', new='22.2'),)

内容的提问来源于stack exchange,提问作者Panda

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.24 21:51:24