Pip install matplotlib. I followed this tutorial.