Install and Run Python Applications in Isolated Environments
Install and Run Python Applications in Isolated Environments
Documentation: https://pipx.pypa.io
Source Code: https://github.com/pypa/pipx
For comparison to other tools including pipsi, see Comparison to Other Tools.
pipx?pipx is a tool to help you install and run end-user applications written in Python. It's roughly similar to macOS's
brew, JavaScript's npx, and
Linux's apt.
It's closely related to pip. In fact, it uses pip, but is focused on installing and managing Python packages that can be run from the command line directly as applications.
pipx enables you to
install command,
guaranteeing no dependency conflicts and clean uninstalls;run command.Best of all, pipx runs with regular user permissions, never calling sudo pip install.
brew install pipx
pipx ensurepathInstall pipx with your distribution's package manager. See the Linux installation instructions for commands and alternatives.
pipx ensurepathscoop install pipx
pipx ensurepathFor more detailed installation instructions, see the full documentation.
Install an application globally:
pipx install pycowsay
pycowsay moooRun an application without installing:
pipx run pycowsay mooSee the full documentation for more details.
Issues and Pull Requests are definitely welcome! Check out Contributing to get started. Everyone who interacts with the pipx project via codebase, issue tracker, chat rooms, or otherwise is expected to follow the PSF Code of Conduct.