Ubuntu下安装Numpy与Matplotlib

来源:互联网 发布:非线性最优化 编辑:程序博客网 时间:2024/05/20 23:33

        Ubuntu下安装了两个版本的Python,分别是Python2.7与Python3.4,所以在安装Numpy与Matplotlib时要注意版本的对应。


(1)Python2.7对应的Numpy与Matplotlib安装:

“sudo apt-get install python-numpy”

“sudo apt-get install python-matplotlib"



(2)Python3.4对应的Numpy与Matplotlib安装:

“sudo apt-get install python3-numpy”

“sudo apt-get install python3-matplotlib"



参考:

http://blog.csdn.net/shennongzhaizhu/article/details/51596662

0 0
原创粉丝点击