python2.7 下使用pip安装软件经常遇到numpy版本过低问题,使用pipip2 uninstall numpy或 pip2 install numpy==1.13.3 --no-deps --force-reinstall 均报出错误“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.”
解决办法
pip2 install --upgrade numpy --user python 将正确安装最新版numpy