Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Manage Python Applications

Published on

Updated on

I’ve recently discovered an application called pipx which allows one to install and run Python applications in isolated environments. I think of it as a package similar to apt, but keeps the packages nice and isolated from one another.

To Install:

sudo apt install python3-venv pipx
pipx ensurepath

By default, it will create the virtualenvs in ~/.local/pipx and drop executables in ~/.local/bin.

Install diceware using pipx:

pipx install diceware

List the virtual environments maintained by pipx:

pipx list

Upgrade a package:

pipx upgrade diceware

Add additional dependencies into a package’s virtual environment:

pipx inject package dependency
Reply via Email

Have you published a response to this? :