Install and Run Python Applications in Isolated Environments
翻譯準備中
開發工具PythonGitHub @pypa自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
正在載入完整 README。 以下為已儲存的摘錄。
pipx — Install and Run Python Applications in Isolated Environments
_For comparison to other tools including pipsi, see
Comparison to Other Tools._
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.檢視完整 README ↗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 installs and runs 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. It installs with uv when available and
pip otherwise, but focuses on installing and managing Python packages you run directly from the command line as
applications.
pipx enables you to
install command,
guaranteeing no dependency conflicts and clean uninstalls;run command.pipx runs with regular user permissions and never calls sudo pip install.
brew install pipx
pipx ensurepath
Install pipx with your distribution's package manager. See the Linux installation instructions for commands and alternatives.
pipx ensurepath
scoop install pipx
pipx ensurepath
For more detailed installation instructions, see the full documentation.
Install an application for your user:
pipx install pycowsay
pycowsay mooo
Run an application without installing:
pipx run pycowsay moo
See the full documentation for more details.
Issues and pull requests are welcome. Check out Contributing to get started. We expect everyone who interacts with the pipx project via codebase, issue tracker, chat rooms, or otherwise to follow the PSF Code of Conduct.