pipx is a tool for installing and running Python applications in isolated environments. It's especially useful for Python-based tools and scripts that are intended to be run from the command line, rather than imported into other Python code. By using pipx, you can install applications and their dependencies in isolated environments, avoiding conflicts between packages and ensuring that each application has the specific versions of libraries it requires.
Install using brew install pipx or manually, using: python -m pip install --user pipx.
Afterwards, run pipx ensurepath to ensure that pipx in is your PATH.