Pip安裝依賴於six、requests庫失敗的解決方法

Installing collected packages: six
Found existing installation: six 1.4.1
DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. Uninstalling six-1.4.1: ide

把安裝的命令改爲
sudo pip install six --upgrade --ignore-installed sixip

Cannot uninstall 'requests'. 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.rem

把安裝的命令改爲
sudo pip install requests --upgraderequests

相關文章
相關標籤/搜索