一、
1.用sudo apt-get install python3-numpy之后,会默认把numpy安装到 /usr/lib/python3/dist-packages目录下,而且版本比较低。
2.用sudo apt-get remove python3-numpy 将上面装的库删掉。
3.用sudo apt-get install python3-pip 安装pip3
4.用pip3安装所需的numpy库:
就可以了。
原文:http://www.cnblogs.com/SZxiaochun/p/6253716.html