Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fitz (ModuleNotFoundError: No module named 'frontend') error in docker

Tags:

python

pdf

I am getting this error that: ModuleNotFoundError: No module named 'frontend' once I am trying to import fitz in my docker application.

Tried using:

  • fitz==0.0.1.dev2
  • PyMuPDF==1.16.14 But still the same problem is there.
like image 558
Heisenberg Avatar asked Sep 11 '25 12:09

Heisenberg


1 Answers

I had a problem with these 2 packages. I used these 2 lines and it solved my problem:

pip install fitz
pip install PyMuPDF==1.19.0

the problem is that the latest version of PyMuPDF is not compatible with fitz.

like image 185
Mehdi Sheikh Avatar answered Sep 13 '25 01:09

Mehdi Sheikh