这篇文章主要介绍linux中error: unpacking of archive failed on file /usr/lib/python2.7如何处理,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
python-urllib3-1.10.2-3.el7.noarch.rpm | 101 kB 00:00:0 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : python-urllib3-1.10.2-3.el7.noarch Error unpacking rpm package python-urllib3-1.10.2-3.el7.noarch 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-3.el7.noarch Failed: python-urllib3.noarch 0:1.10.2-3.el7 Complete!
PIP已经安装了对应的版本包,此时yum安装的rpm包与pip里的冲突,先把pip里的包卸载掉再用yum 重新安装
[root@compute01 home]# pip freeze|grep urllib3 You are using pip version 9.0.1, however version 10.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. urllib3==1.22 [root@compute01 home]# pip uninstall urllib3 [root@compute01 home]# yum install python-urllib3
以上是“linux中error: unpacking of archive failed on file /usr/lib/python2.7如何处理”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注亿速云行业资讯频道!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。