Pipx..What a wonderful and necessary program! This program is found in debian 11 backports (also in Debian Bookworm and Debian Sid). This program allows you to run the latest version of a CLI application from a package in a temporary virtual environment, leaving your system untouched after it finishes. It install packages to isolated virtual environments, while globally exposing their CLI applications so you can run them from anywhere.It easily list, upgrade, and uninstall packages that were installed with pipx. In short, 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 is a tool to install and run any of these thousands of application-containing packages in a safe, convenient, and reliable way. In a way, it turns Python Package Index (PyPI) into a big app store for Python applications. More info here
Tool in action:
Last edited by None1975 on 2023-03-17 12:24, edited 2 times in total.
sunrat wrote: ↑2023-03-15 23:03
Sounds wonderful but necessary? Not so much. I think I have a whole two tiny utility programs from PiPi.
This app has one good and useful feature. It downloads and runs Python "apps" in a one-time, temporary environment, leaving your system untouched afterwards. This can be handy when you need to run the latest version of an app, but don't necessarily want it installed on your computer. For example i can run latest bpytop with simple command
Next Debian/Ubuntu Releases Will Likely No Longer Allow pip install Ouside A Virtual Environment
The next Debian/Ubuntu releases will likely no longer allow pip install outside a virtual environment or separate Python installs because of conflicts between pip and the OS package manager. It can still be forced, but that's strongly not recommended.
Next Debian/Ubuntu Releases Will Likely No Longer Allow pip install Ouside A Virtual Environment
The next Debian/Ubuntu releases will likely no longer allow pip install outside a virtual environment or separate Python installs because of conflicts between pip and the OS package manager. It can still be forced, but that's strongly not recommended.
That makes sense and makes pipx useful for Bookworm and later.The only application I use regularly from pip install is yt-dlp which breaks every few weeks and is usually fixed within a day or so. No way Stable will get the update in a timely manner, and pip is easier than going to Github and getting the latest each time.
Side note:- shame the journalist didn't proof read the title of that article - "Ouside".
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”Remember toBACKUP!
The only application I use regularly from pip install is yt-dlp which breaks every few weeks and is usually fixed within a day or so. No way Stable will get the update in a timely manner, and pip is easier than going to Github and getting the latest each time.
I have been using yt-dlp from bullseye backports for awhile, not that much breakage and when it did break only took 10 days to migrate to testing and further backports. If necessary you could just backport it from unstable easily... but I can see why you might prefer pip to that.
CynicalDebian wrote: ↑2023-03-17 03:53I have been using yt-dlp from bullseye backports for awhile, not that much breakage and when it did break only took 10 days to migrate to testing and further backports. If necessary you could just backport it from unstable easily... but I can see why you might prefer pip to that.
10 days? when I want to download something from Youtoob, I want it NOW!
@None1975 It would be great if you could correct the spelling in the title. It's pipx not pipix.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”Remember toBACKUP!