python ModuleNotFoundError: No module named ‘frontend‘

今天在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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章