一:windows 端的安裝python
#cmd指令 python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
成功安裝所需庫!linux
2、linux端安裝--基於Ubuntu的操做ubuntu
第一步:下載壓縮包到指定位置windows
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
第二步:解壓下載的壓縮包ui
jiyongjia@ubuntu:~/Downloads$ tar xzf matplotlib-1.4.3.tar.gz jiyongjia@ubuntu:~/Downloads$ cd matplotlib-1.4.3/ jiyongjia@ubuntu:~/Downloads/matplotlib-1.4.3$ ls
第三步:進入文件夾進行編譯spa
jiyongjia@ubuntu:~/Downloads/matplotlib-1.4.3$ python3 setup.py build.net
第四步:安裝3d
jiyongjia@ubuntu:~/Downloads/matplotlib-1.4.3$ python3 setup.py installcode