今天在pdf轉換爲圖片的時候,出現了下面的錯誤:
➜ OCR_table python pdf_to_image.py
Traceback (most recent call last):
File "pdf_to_image.py", line 1, in <module>
import sys, fitz
File "/home/eric/anaconda3/lib/python3.6/site-packages/fitz/__init__.py", line 1, in <module>
from frontend import *
ModuleNotFoundError: No module named 'frontend'
解決方法
pip install PyMuPDF
參考文獻
[1].ModuleNotFoundError: No module named 'frontend'. https://stackoverflow.com/questions/56467667/modulenotfounderror-no-module-named-frontend