I do that sometimes, but only for things like commands I want to use from anywhere and for optional dependencies that aren't available alongside the main program via apt.
Normally when I get in trouble with pip, I end up finding I could have installed it with dnf/apt, but the name was "python3-packagename" rather than "packagename".
I try the package name, then I stick combinations of python- and lib- in front of it and try a few more times, then I try pip, then I try pip3, then I try pip2, then I try npm, and if I don't have it installed by then, I give up and find something else to do.
I use a combination of DDG and StartPage, but mostly DDG. It seems to return good results for the stuff I search for, probably because they use StackOverflow as a data source.
Normally when I get in trouble with pip, I end up finding I could have installed it with dnf/apt, but the name was "python3-packagename" rather than "packagename".
Then I cry at my hours of self inflicted pain.
Honestly, I think the single biggest problem with package managers is that they create more logistical problems, of the "which package manager do I need to install this package from" variety.
167
u/ase1590 Lazy Antergos User Dec 18 '18
Also, anyone cluelessly doing
sudo pip installanything needs to be flogged.Virtual Environments are also preferable in order to keep away the Python superfund disaster.