python OSError: can not open resource error and the location of the font

font='msyh.ttf' 

Error reasons: ① likely location of the font, the font does not exist. As shown, the font can be downloaded.

                  ② may be because the font name wrong.

 

Published 35 original articles · won praise 26 · views 80000 +

Guess you like

Origin blog.csdn.net/weixin_42342968/article/details/101023156