Closed KarkanAlzwayed closed 1 year ago
Using --breal-system-packages
is really not the optimal solution. What didn't work with pipx?
With pipx it complains that the package doesn't exist.
Just to make sure does pipx not find the package or does the widget not find the backend? If the latter is true, then you need to set the backend executable command
to ~/.local/bin/ddcci_plasmoid_backend
.
You can always install a local package use pipx install /path/to/this/repo/backend
Maybe we should document pipx stuff, because recent distro no longer allow global or user pip installation
You can always install a local package use
pipx install /path/to/this/repo/backend
The issue is that ddcci-plasmoid-backend
isn't available to download anywhere when I searched it. Unless it's available under a different name then I don't know.
Just to make sure does pipx not find the package or does the widget not find the backend? If the latter is true, then you need to set the
backend executable command
to~/.local/bin/ddcci_plasmoid_backend
.
Both. Widget can't find it because it is not installed and here is what I get when running pipx
pipx install --user ddcci-plasmoid-backend
usage: pipx [-h] [--version]
{install,uninject,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions}
...
pipx: error: unrecognized arguments: --user
You can always install a local package use
pipx install /path/to/this/repo/backend
The issue is that
ddcci-plasmoid-backend
isn't available to download anywhere when I searched it. Unless it's available under a different name then I don't know.
I mean:
git clone https://github.com/davidhi7/ddcci-plasmoid
pipx install ./ddcci-plasmoid/backend/
Just to make sure does pipx not find the package or does the widget not find the backend? If the latter is true, then you need to set the
backend executable command
to~/.local/bin/ddcci_plasmoid_backend
.Both. Widget can't find it because it is not installed and here is what I get when running pipx
pipx install --user ddcci-plasmoid-backend usage: pipx [-h] [--version] {install,uninject,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions} ... pipx: error: unrecognized arguments: --user
The right command is pipx install ddcci-plasmoid-backend
without --user
, pipx always install packages into user's home.
You can always install a local package use
pipx install /path/to/this/repo/backend
The issue is that
ddcci-plasmoid-backend
isn't available to download anywhere when I searched it. Unless it's available under a different name then I don't know.I mean:
git clone https://github.com/davidhi7/ddcci-plasmoid pipx install ./ddcci-plasmoid/backend/
Oh wow. 😂 That's crazy how I missed that.
Just to make sure does pipx not find the package or does the widget not find the backend? If the latter is true, then you need to set the
backend executable command
to~/.local/bin/ddcci_plasmoid_backend
.Both. Widget can't find it because it is not installed and here is what I get when running pipx
pipx install --user ddcci-plasmoid-backend usage: pipx [-h] [--version] {install,uninject,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,run,runpip,ensurepath,environment,completions} ... pipx: error: unrecognized arguments: --user
The right command is
pipx install ddcci-plasmoid-backend
without--user
, pipx always install packages into user's home.
I used almost the same command, but I kept adding python
to it.
I think this whole pipx thing should be added to the readme. So, noobs like me don't get stranded.
I used almost the same command, but I kept adding
python
to it. I think this whole pipx thing should be added to the readme. So, noobs like me don't get stranded.
I created a PR about this issue: #42 , any ideas are welcome :smiley_cat:
EDIT: Nevermind I ran
pip install ddcci-plasmoid-backend --break-system-packages
and it worked. Could you please add that in the readme file for arch users, or whomever you think would get this message?I used to be able to install it just fine, but now the system is not liking pip and it throws this error when I run
pip install ddcci-plasmoid-backend
I Have installed pip and tried - still failed I have used pipx (it was suggested when I searched) - still failed Not sure what else I can do to install the
ddcci-plasmoid-backend
. It is not available anywhere to install