【问题标题】:Why does Pyrebase4 give me a installation error when using python3.9 on macOS为什么在 macOS 上使用 python3.9 时 Pyrebase4 给我安装错误
【发布时间】:2022-08-10 11:22:07
【问题描述】:

我正在使用 pip 3.9/python 3.9,因为 pyrebase4 不适用于 python 3.10.5/pip3 这是错误:

--- Logging error ---
Traceback (most recent call last):
  File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py\", line 177, in 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\", line 179, in emit
    self.handleError(record)
Message: \'[present-rich] %s\'
Arguments: (UpgradePrompt(old=\'22.1.2\', new=\'22.2\'),)

    标签: pip python-3.9


    【解决方案1】:

    您使用的 pip 版本已过时。运行以下命令以消除错误。

    pip install --upgrade pip
    

    【讨论】:

    • 谢谢,我只是注意到我从来不需要更改 pip 和 python 的版本,因为 Pyrebase 不适用于 cloud firestore
    • 解决方案在这种情况下有效吗?
    • 是的,它确实有效,而且我还注意到 Pyrebase4 不支持 Cloud Firestore。所以我已经从云火库更改为实时数据库。
    猜你喜欢
    • 2021-04-18
    • 1970-01-01
    • 2021-09-20
    • 2020-10-01
    • 1970-01-01
    • 2016-11-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多