Solved: No match for argument: python-pip

Issues related to applications and software problems and general support
Post Reply
prabha_friend
Posts: 68
Joined: 2020/06/10 14:05:16

Solved: No match for argument: python-pip

Post by prabha_friend » 2020/10/18 16:45:42

Code: Select all

sudo yum -y update &&
sudo yum -y install epel-release &&
sudo yum -y install python-pip &&
sudo yum -y install vim wget dnf&&
sudo pip install alembic ansible &&
sudo pip install --upgrade pip &&
sudo mkdir /etc/ansible &&
sudo chown astmin:astmin /etc/ansible &&
sudo echo "[starfish]" >> /etc/ansible/hosts &&
sudo echo "localhost ansible_connection=local" >> /etc/ansible/hosts &&
mkdir -p ~/ansible/playbooks
which gives an error:

Code: Select all

No match for argument: python-pip
Error: Unable to find a match: python-pip
Why? What's wrong with the code? or the System?

Hope you reply..

- Prabhakaran
Last edited by prabha_friend on 2020/10/20 05:42:14, edited 1 time in total.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: No match for argument: python-pip

Post by jlehtone » 2020/10/19 07:10:40

I think I did tell you already:
1. Never run pip as root
2. Ansible is available as rpm. Use the package manager
3. Blind copy-paste sans comprehension leads to trouble

User avatar
johnzapf
Posts: 21
Joined: 2020/10/19 14:03:27

Re: No match for argument: python-pip

Post by johnzapf » 2020/10/19 14:21:37

I think it has to be python3-pip

prabha_friend
Posts: 68
Joined: 2020/06/10 14:05:16

Re: No match for argument: python-pip

Post by prabha_friend » 2020/10/20 05:41:05

johnzapf wrote:
2020/10/19 14:21:37
I think it has to be python3-pip
This works. Thank you so much...

Edited the Question as "Solved"

Post Reply