ModuleNotFoundError in Docker #2351
-
I've been trying to take working code from my Windows PC to Docker without success. In Docker the installation process goes fine without error but later in the code I get this simple error
Here's a snippet from my Dockerfile
And from my docker-compose.yml
Any ideas? Anyone had success using PyMuPDF in Docker? Basically what my project is doing is taking some PDF files, moving them around and reading them. If reading them doesn't work, I do OCR first and go from there. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Alright so this was a docker-related issue after all. When building the image it was referencing a huge cache every time regardless of me destroying the previous images. Once I deleted the cache, it built the image from scratch and now it works. |
Beta Was this translation helpful? Give feedback.
Alright so this was a docker-related issue after all. When building the image it was referencing a huge cache every time regardless of me destroying the previous images. Once I deleted the cache, it built the image from scratch and now it works.