官方文档上让使用sudo apt-get build-dep python-matplotlib
, 但是包已经损坏了, 而我使用pip install matplotlib
也不行, 于是我试了一下,
貌似sudo apt-get install python-matplotlib
可以, 安装后输入pip list
可以查看是否安装成功.
官方文档上让使用sudo apt-get build-dep python-matplotlib
, 但是包已经损坏了, 而我使用pip install matplotlib
也不行, 于是我试了一下,
貌似sudo apt-get install python-matplotlib
可以, 安装后输入pip list
可以查看是否安装成功.