1. 程式人生 > >It is a distutils installed project and thus we cannot accurately determine which files belong to

It is a distutils installed project and thus we cannot accurately determine which files belong to

報錯

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

pip 10.1的問題

只需要python -m pip install --user --upgrade leveldb==1.4

或者

sudo pip install --ignore-installed leveldb