davidhi7 / ddcci-plasmoid

KDE Plasma widget to adjust the brightness of multiple external monitors
MIT License
388 stars 11 forks source link

Cannot install ddcci-plasmoid-backend without pip and --break-system-packages argument #83

Open Sollace opened 1 month ago

Sollace commented 1 month ago

I tried every other method recommended. pipx doesn't exist and I'm unable to find it in the repositories to install, pip warns externally-managed-environment and tells you to use pacman. Neither pacman nor pamac are able to find the python-ddcci-plasmoid-backend or ddcci-plasmoid-backend packages.

$ pip install --user ddcci-plasmoid-backend
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
python-xyz', where xyz is the package you are trying to
install.

If you wish to install a non-Arch-packaged Python package,
create a virtual environment using 'python -m venv path/to/venv'.
Then use path/to/venv/bin/python and path/to/venv/bin/pip.

If you wish to install a non-Arch packaged Python application,
it may be easiest to use 'pipx install xyz', which will manage a
virtual environment for you. Make sure you have python-pipx
installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
$ pipx
bash: pipx: command not found
[sollace@Bismuth ~]$ pamac install pipx
Error: target not found: pipx
$ pamac install python-ddcci-plasmoid-backend
Error: target not found: python-ddcci-plasmoid-backend
$ sudo pacman -S python-ddcci-plasmoid-backend
doas (sollace@Bismuth) password:
error: target not found: python-ddcci-plasmoid-backend
$ pip install --user ddcci-plasmoid-backend --break-system-packages
Collecting ddcci-plasmoid-backend
Downloading ddcci_plasmoid_backend-0.1.10-py3-none-any.whl.metadata (2.1 kB)
Collecting fasteners<0.19,>=0.18 (from ddcci-plasmoid-backend)
Downloading fasteners-0.18-py3-none-any.whl.metadata (4.9 kB)
Downloading ddcci_plasmoid_backend-0.1.10-py3-none-any.whl (9.5 kB)
Downloading fasteners-0.18-py3-none-any.whl (18 kB)
Installing collected packages: fasteners, ddcci-plasmoid-backend
Successfully installed ddcci-plasmoid-backend-0.1.10 fasteners-0.18
davidhi7 commented 1 month ago

The Arch Linux package you're looking for is python-pipx.