您好,登錄后才能下訂單哦!
這篇文章主要介紹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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。