I have tried installing missing fonts but it does not work for me, but fortunately, changing the default font of Matplotlip helps. So I assume that installing the missing one is also possible:)
TRY:
import matplotlib.pyplot as plt
plt.rcParams['font.family'] = 'DejaVu Sans'
to find out available fonts:
import matplotlib.font_manager
for font in matplotlib.font_manager.findSystemFonts(fontpaths=None, fontext='ttf'):
print(font)