Problem installing package, how to solve?
Colin Watson
cjwatson at ubuntu.com
Sun Feb 4 12:28:03 UTC 2024
On Fri, Feb 02, 2024 at 07:52:37PM +0000, Ian Bruntlett wrote:
> On Fri, 2 Feb 2024 at 16:44, Oliver Grawert <ogra at ubuntu.com> wrote:
> > nowadays using pip directly on your machine outside of a venv setup is
> > frowned upon since it can (and has in the past) cause conflicts with
> > apt python packages ...
>
> PMFJI but in the past I dabbled with Python - and will dabble with it again
> sometime in the Future.
>
> Do you have any links that explain venv setups so as to install Python
> packages without interfering with apt Python packages?
If all you need is to install a Python application directly from PyPI
rather than using apt, then I'd recommend https://pipx.pypa.io/stable/
(which can itself be installed from apt as of Ubuntu 20.04, for
bootstrapping). It deals with the virtualenv management for you.
--
Colin Watson (he/him) [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list