Hello
I would remove that version of pip you have, disable whatever repo it came from and reinstall python3, this should install the original pip (python3-pip.noarch 9.0.3-7.el7_7)
If you run a pip command and it's saying your version of pip is outdated, see
https://github.com/pypa/pip/issues/5599
At some point I must have run this command
Code: Select all
python3 -m pip-3.6 install --upgrade pip --user
Note pip-3.6 is system pip3.6 is user
This will leave 2 versions of pip /usr/bin/pip-3.6 (9.0.3) and also install ~/.local/bin/pip3.6 (currently 20.1.1)
I have ~/.local/bin before /usr/bin in my $PATH
I haven't encountered any problems doing it this way as the system installed python packages are unaltered.