首页 > 解决方案 > python3.7如何安装matplotlib?

问题描述

我有错误

No module named 'matplotlib'

我试过了:

sudo apt install python3.7 matplotlib
sudo apt install python3.7-matplotlib
pip install python3.7-matplotlib

结果:

No matching distribution found for python3.7-matplotlib

谢谢你。

标签: matplotlibpython-3.7

解决方案


sudo pip3.7 install matplotlib

推荐阅读