pip prevents installing packages with just explicit --user
and forces to add --break-system-packages
#123627
Labels
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
I was trying to install packages to
~/.local
, but pip (installed viaapt install python3-pip
as ensurepip/pip are not included with python distribution on Ubuntu 24.04) refuses to proceed without using--break-system-packages
which is a bit weird wording. I get that it's trying to push everyone to use venv, but the wording is a bit strange. I perceivesystem packages
as those installed in /usr/lib and other system locations. It appears that pip refers to~/.local
-installed packages also as system packages.I propose that explicit
--user
switch be sufficient for proceeding with install(adding
--break-system-packages
helped and the packages were installed to~/.local
as expected)CPython versions tested on:
3.12
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: