1、安装Matplotlib
Matplotlib下载方法
现在控制台使用命令:
python -m pip install -U pip
如果报错:
Requirement already up-to-date: pip in c:\users\lz\appdata\local\programs\python\python38-32\lib\site-packages (20.1)
Could not build wheels for pip, since package 'wheel' is not installed.
则先安装“wheel”:
pip install wheel
然后,安装Matplotlib:
python -m pip install -U matplotlib