Found existing installation: six 1.5.2 Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial u


今天在制作docker鏡像時遇到一個問題,問題描述如下:

Found existing installation: six 1.5.2
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

但是我並沒有要安裝 six 這個包,經排查發現是因為happybase這個包依賴於six,所以會去安裝,但是因為系統也依賴了這個包,如果下載新的就必須卸載舊版本的,但是系統又依賴於舊版本,所以就沒有辦法卸載,最終導致報錯。

不過原因是找到了,但是博主卻沒有找到完美的解決方案,選擇了逃避,自己主動拋棄了happybase,然后結果皆大歡喜~

但是博主希望在你遇到這個問題時能夠完美解決~


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM