If you have python installed but still getting No package pip available
you can easily solve this by adding the python-pip
with yum. Let’s see how to install pip on Amazon Linux 2.
Prerequisites
- Amazon Linux 2
- sudo privileges
Install Pip on Amazon Linux 2
Step 1. Update the amazon linux 2 packages.
yum update
Step 2. Install pip.
sudo yum install python-pip
Step 3. Verify the installation.
pip --version
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.