Issue running pip/pip3---macOS 13/Apple M1

when I run/try to reinstall or upgrade pip or pip3, I et the following output on my terminal:

python -m ensurepip --upgrade             127 ↵ ──(Thu,Nov10)─┘
ERROR: Exception:
Traceback (most recent call last):
  File "/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
  File "/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl/pip/_internal/cli/req_command.py", line 247, in wrapper
    return func(self, options, args)
  File "/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl/pip/_internal/commands/install.py", line 285, in run
    options.use_user_site = decide_user_install(
  File "/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl/pip/_internal/commands/install.py", line 723, in decide_user_install
    if site_packages_writable(root=root_path, isolated=isolated_mode):
  File "/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl/pip/_internal/commands/install.py", line 669, in site_packages_writable
    for d in set(get_lib_location_guesses(root=root, isolated=isolated))
  File "/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl/pip/_internal/commands/install.py", line 655, in get_lib_location_guesses
    scheme = get_scheme(
  File "/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl/pip/_internal/locations/__init__.py", line 250, in get_scheme
    old = _distutils.get_scheme(
  File "/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl/pip/_internal/locations/_distutils.py", line 141, in get_scheme
    scheme = distutils_scheme(dist_name, user, home, root, isolated, prefix)
  File "/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl/pip/_internal/locations/_distutils.py", line 57, in distutils_scheme
    d.parse_config_files()
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 406, in parse_config_files
    parser.read(filename)
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/configparser.py", line 697, in read
    self._read(fp, filename)
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/configparser.py", line 1096, in _read
    raise DuplicateOptionError(sectname, optname,
configparser.DuplicateOptionError: While reading from '/Users/seanomalley/.pydistutils.cfg' [line  3]: option 'include_dirs' in section 'build_ext' already exists
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ensurepip/__init__.py", line 211, in _main
    return _bootstrap(
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ensurepip/__init__.py", line 130, in _bootstrap
    return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ensurepip/__init__.py", line 39, in _run_pip
    return subprocess.run(cmd, check=True).returncode
  File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/opt/homebrew/opt/python@3.9/bin/python3.9', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/setuptools-65.4.1-py3-none-any.whl\', \'/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf/pip-22.2.2-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/var/folders/t6/623lr8z141j02c_lpfgfn3mr0000gn/T/tmpjjsa9igf\', \'--upgrade\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 2.