Python urllib3 update problem pip yum rpm

1 post / 0 new
#1 Thu, 09/26/2019 - 03:59
Jfro

Python urllib3 update problem pip yum rpm

This error at update. ( centos 7 latest)

error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: cpio: rename
  Verifying  : python-urllib3-1.10.2-7.el7.noarch                           1/2python-urllib3-1.10.2-5.el7.noarch was supposed to be removed but is not!

  Verifying  : python-urllib3-1.10.2-5.el7.noarch                           2/2

Failed:
  python-urllib3.noarch 0:1.10.2-5.el7   python-urllib3.noarch 0:1.10.2-7.el7 

Then tried pip uninstall urllib3.

After that yum install python-urllib3 seems to solve that problem. ;)

I don't know much about Python so i hope this is ok?