python词云报OSError: cannot open resource
File "C:\Users\WarmDay\AppData\Local\Programs\Python\Python36\lib\site-packages\PIL\ImageFont.py", line 188, in __init__ font, size, index, encoding, layout_engine=layout_engine OSError: cannot open resource 我的平台是window10 解决思路:1.找到本地字体 路径为:C:\Windows\Fonts 2.选择我们想要改为的字体,以宋体为例: 3.修改font_path=’./simsun.ttc 来源: CSDN 作者: warm_days 链接: https://blog.csdn.net/Warm_days/article/details/104308045