'fish: Unknown command: pip
today I am trying Garuda KDE Dr460nized and I am running python on it. But when I use pip for installing packages I open my Konsole and, an error comes like this
fish: Unknown command: pip
I thought I should write pip3 instead of pip but still, the same error comes
fish: Unknown command: pip3
Can anyone please tell me how to solve this issue in Garuda Linux. It is an Arch-based on Linux. Please tell me what is the solution. Any help will be appreciated. Thanks in advance
Solution 1:[1]
I think I have answered my question I have to add:
python -m pip install packageName
It solved my error. If anyone can't solve their error you can see this answer.
Solution 2:[2]
You can install pip using a package called yaourt. Follow the link below on now to get started with yaourt.
after successful installation run
yaourt pip3
it worked for me.
Solution 3:[3]
It looks like python-pip is not installed on your machine.
Please use the below command to install the python-pip.
I also faced the same issue. Not it's solved by this.
sudo pacman -S python2-pip #Python 2
sudo pacman -S python-pip #Python 3
verify your installation
pip help
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Anant Gupta |
| Solution 2 | Njuguna_nc |
| Solution 3 | CodePerfectPlus |
