打开终端,输入命令:
1.sudo apt-get update (更新源)
2.sudo apt-get install python-pip (安装pip,安装完成输入pip,出现使用方法则安装成功)
3.sudo pip install numpy (使用pip安装相关的包) sudo pip install scipy sudo pip install matplotlib sudo pip install pandas