成功解决Exception unhandled OSError cannot open resource File: F:\Program Files\Python\Python36\Lib\si
生活随笔
收集整理的這篇文章主要介紹了
成功解决Exception unhandled OSError cannot open resource File: F:\Program Files\Python\Python36\Lib\si
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
成功解決Exception "unhandled OSError" cannot open resource File: F:\Program Files\Python\Python36\Lib\si
?
?
?
?
目錄
解決問題
解決思路
解決方法
?
?
?
?
?
?
?
解決問題
Exception "unhandled OSError"
cannot open resource
File: F:\Program Files\Python\Python36\Lib\site-packages\PIL\ImageFont.py, Line: 144
?
?
?
?
解決思路
異常“未處理的OSError”
無法打開資源
error地址:File: F:\Program Files\Python\Python36\Lib\site-packages\PIL\ImageFont.py, Line: 144
?
?
?
?
解決方法
查看調用的font文件是否存在,當調用的某個文件不存在時,就會出現這種情況!
博主經過重新定義font文件,成功解決此問題!
?
?
總結
以上是生活随笔為你收集整理的成功解决Exception unhandled OSError cannot open resource File: F:\Program Files\Python\Python36\Lib\si的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 成功解决OpenCV Error: As
- 下一篇: Python语言学习:利用python语