python 报错 fitz RuntimeError: Directory 'static/' does not exist from import fitz

fitz模块打开PDF文件
报错:
RuntimeError(f“Directory '{directory}' does not exist”)
RuntimeError: Directory 'static/' does not exist from import fitz
解决方案:
删除fitz
pip uninstall fitz
pip install pymupdf
即可解决

posted @ 2023-03-31 15:56  myrj  阅读(1041)  评论(0编辑  收藏  举报