Error when trying up upgrade package installed usong pipx
1
vote
2
answers
33
views
A package (poetry, for use with python), was installed on an installation of Ubuntu 24.10/oracular.
The package was installed using pipx:
pipx install poetry
It is required to update poetry using pipx (poetry updating itself using the poetry self update command is not an option in this case). To do this the following is run:
pipx upgrade poetry
This returns an error saying that the package is not installed:
Package is not installed. Expected to find /home/sir_mallard/.local/share/pipx/venvs/poetry, but it does not exist.
However, the package is installed, as can be found by running:
which poetry
which returns
/home/sir_mallard/.local/bin/poetry
How can pipx's expected installation location for the package be changed to the installed location, so that pipx can be used to upgrade the package?
Asked by acolls_badger
(113 rep)
Jun 24, 2025, 06:52 PM
Last activity: Jun 25, 2025, 04:18 PM
Last activity: Jun 25, 2025, 04:18 PM