["python","python-3.x","pip"]
"WARNING: Value for scheme.data does not match" when I try to update pip or install packages

I have a M1 Mac and I just noticed that when I try to upgrade pip or install any packages I get a series of warnings: user@mac01 ~ $python3 -m pip install --upgrade pip WARNING: Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew/lib/python3.9/site-packages sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew/lib/python3.9/site-packages sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew/include/python3.9/UNKNOWN sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 WARNING: Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew/bin sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/bin WARNING: Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9 WARNING: Additional context: user = False home = None root = None prefix = None Requirement already satisfied: pip in /opt/homebrew/lib/python3.9/site-packages (21.1) WARNING: Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew/lib/python3.9/site-packages sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew/lib/python3.9/site-packages sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew/include/python3.9/UNKNOWN sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 WARNING: Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew/bin sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/bin WARNING: Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: /opt/homebrew sysconfig: /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9 WARNING: Additional context: user = False home = None root = None prefix = None user@mac01 ~ $ Please advise.
downgrading to an earlier version of pip fixed it for me: python -m pip install pip==21.0.1