I am using matplotlib version 2.0.0 on Python 3 in a miniconda virtual environment. I am working on a unix scientific computing cluster where I don\'t have root privileges.
There is a conda package for it[1]. So, you don't really need sudo to fix this!
sudo
conda install -c conda-forge -y mscorefonts
restart jupyter and/or force rebuild matplotlib font cache
import matplotlib matplotlib.font_manager._rebuild()
[1] - https://anaconda.org/conda-forge/mscorefonts