1、出现这个原因:
ImportError:Something is wrong with the numpy installation.
While importing we detected an older version of numpy in ['/home/.local/lib/python3.6/site-packages/numpy'].
One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.2
2、解决办法:
1)先使用命令卸载原来安装好的numpy:
pip uninstall numpy
2)使用 pip(pip3) list命令查看是否还有numpy存在,若还存在则继续卸载
3)重新安装新版本
pip3 install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
https://pypi.tuna.tsinghua.edu.cn/simple 镜像
安装成功