Closed canxin121 closed 1 year ago
File "/nb/cxbot/.venv/lib/python3.10/site-packages/PIL/ImageFont.py", line 255, in init self.font = core.getfont( OSError: cannot open resource
报错详情
下面是字体安装情况
fc-cache -f -v 或重启机器
或者是当前用户没有字体文件的读权限
都试了,还是同样报错,emmm
File "/nb/cxbot/.venv/lib/python3.10/site-packages/PIL/ImageFont.py", line 255, in init self.font = core.getfont( OSError: cannot open resource
报错详情
下面是字体安装情况