numpy 存在旧版本

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

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.

解决办法python2.7

pip install numpy --ignore-installed numpy
相关文章
相关标签/搜索