這篇文章主要介紹linux中error: unpacking of archive failed on file /usr/lib/python2.7如何處理,文中介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們一定要看完!
鎮(zhèn)遠(yuǎn)網(wǎng)站建設(shè)公司成都創(chuàng)新互聯(lián)公司,鎮(zhèn)遠(yuǎn)網(wǎng)站設(shè)計(jì)制作,有大型網(wǎng)站制作公司豐富經(jīng)驗(yàn)。已為鎮(zhèn)遠(yuǎn)超過(guò)千家提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\外貿(mào)營(yíng)銷(xiāo)網(wǎng)站建設(shè)要多少錢(qián),請(qǐng)找那個(gè)售后服務(wù)好的鎮(zhèn)遠(yuǎn)做網(wǎng)站的公司定做!
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已經(jīng)安裝了對(duì)應(yīng)的版本包,此時(shí)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
以上是“l(fā)inux中error: unpacking of archive failed on file /usr/lib/python2.7如何處理”這篇文章的所有內(nèi)容,感謝各位的閱讀!希望分享的內(nèi)容對(duì)大家有幫助,更多相關(guān)知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!