在pycharm中安装不上matplotlib.pyplot,提示安装失败

报错
PackagesNotFoundError: The following packages are not available from current channels:
刚开始matplotlib也有过一次安装,那次成功了,但是之后pyplot下面又报错

切换源,好久没装了,不知道国内清华源是否还能用,百度一下即可

Pyplot 是 Matplotlib 的子库,下载了matplotlib直接调用就行

import matplotlib.pyplot as plt