安装numpy后,引入numpy包的时候报错:

ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['/usr/lib64/python2.7/site-packages/numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.

解决办法

pip install numpy --ignore-installed numpy
06-18 14:24