错误信息
- Cannot uninstall ‘numpy’. 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.
- Cannot uninstall ‘wrapt’. 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.
- Cannot uninstall ‘enum34’. 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.
- Cannot uninstall ‘simplejson’. 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.
- Cannot uninstall ‘netaddr’. 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.
以上5中情况都是因为版本不必配造成的。
解决方法:
pip install -U --ignore-installed wrapt enum34 simplejson netaddr numpy