一:windows 端的安装
#cmd指令python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
成功安装所需库!
二、linux端安装--基于Ubuntu的操作
第一步:下载压缩包到指定位置
jiyongjia@ubuntu:~$ cd ~/Downloads/jiyongjia@ubuntu:~/Downloads$ wget https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.4.3/matplotlib-1.4.3.tar.gz
第二步:解压下载的压缩包
jiyongjia@ubuntu:~/Downloads$ tar xzf matplotlib-1.4.3.tar.gzjiyongjia@ubuntu:~/Downloads$ cd matplotlib-1.4.3/jiyongjia@ubuntu:~/Downloads/matplotlib-1.4.3$ ls
第三步:进入文件夹进行编译
jiyongjia@ubuntu:~/Downloads/matplotlib-1.4.3$ python3 setup.py build
第四步:安装
jiyongjia@ubuntu:~/Downloads/matplotlib-1.4.3$ python3 setup.py install