How can I properly upgrade to a newer version of pip on Oracle Linux 7 after installing from the oracle-epel-release-el7 repo using yum?
I setup the epel release using this command:
sudo yum install -y oracle-epel-release-el7 oracle-release-el7
I then enabled the ol7_developer_EPEL yum repo and installed python-pip using the following commands:
sudo yum install python-setuptools
sudo yum install python-pip
This installs pip 8.1.2. And running the command pip --version shows that it is installed fine... The only problem is I need a newer version of pip and setuptools for another pip package I need to install. (It looks like the newest version elsewhere is pip 19+).
Normally, you can upgrade pip using the following command:
pip install --upgrade pip
However, when I try this, it breaks pip... Is there a better way to get / upgrade to a more recent version using yum?