Problem installing package, how to solve?

Colin Watson cjwatson at ubuntu.com
Sun Feb 4 14:51:43 UTC 2024


On Sun, Feb 04, 2024 at 01:45:51PM +0100, Bo Berglund wrote:
> Concerning this "venv":
> 
> I am not programming anything at all using python....
> I cannot understand that language.
> 
> But I am using utilities that are downloaded/installed on my Linux machine using
> whatever install mechanism the utility suggests. Many of these seem to be
> written using python, but taht is not very much advertised when getting the
> utility.
> Of course pip suggests tyhat we are dealing with a python utility, but apt does
> not.

In that case, pipx (not pip) is almost certainly the easiest and safest
thing to use.

> When it is installed I am assuming it is available for general use as long as
> the executable is on path. So it should not depend on in which direcvtory one
> issues the command.
> 
> Reading the replies here makes me believe that the venv thing makes a utility
> only work if it is launched inside a specific directory on the disk, and that is
> not what I want.

You understand incorrectly.

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]



More information about the ubuntu-users mailing list