1. 程式人生 > >Pip安裝依賴於six、requests庫失敗的解決方法

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

Pipsix、request

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:

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

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.

把安裝的命令改成
sudo pip install requests --upgrade

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