pip install pyplot
在cmd命令窗口执行以上命令,重新进行安装
pip install matplotlib
引用的时候
from matplotlib import pyplot as plt