pip install matplotlib
pip3 install matplotlib
// install matplotlib
pip install matplotlib
// using conda
conda install -c conda-forge matplotlib
first add pypy and its scripts folder to path!
then use the following code in terminal:
pypy3 -m pip install matplotlib
do not worry if it looked stuck at the end.
! pip install matplotlib