解决fitz模块报错
使用Python处理PDF文档时,需要使用fitz模块。由于Python 3.8与fitz有兼容问题,会出现以下错误信息:
[省略部分错误信息]
RuntimeError: Directory 'static/' does not exist
解决办法是卸载fitz模块,安装pymupdf模块。执行的命令如下:
pip uninstall fitz
pip install pymupdf 

相关文章:

  • 2021-06-13
  • 2021-09-06
  • 2021-08-07
  • 2021-07-23
  • 2021-10-16
  • 2021-12-03
  • 2021-06-20
猜你喜欢
  • 2021-09-15
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2021-12-08
相关资源
相似解决方案