Search code examples
pippython-3.9

Why does Pyrebase4 give me a installation error when using python3.9 on macOS


I am using pip 3.9/python 3.9 because pyrebase4 doesn't work with python 3.10.5/pip3 Here's the error:

--- 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'),)

Solution

  • The version of pip you are using is outdated. Run the following to get rid of the error.

    pip install --upgrade pip