Forums

Error running WSGI application-> ModuleNotFoundError: No module named 'fitz'

Error running WSGI application ModuleNotFoundError: No module named 'fitz' File "/var/www/pdf2csvv1_pythonanywhere_com_wsgi.py", line 16, in <module> from flask_app import app as application # noqa

I am trying to use PyMuPDF library and "fitz" is used to get function from it, I already installed it and did all the basic requirement.
what is the solution for this error?

Make sure that you installed the required packages for the same Python version / virtual environment that you use to run the web app.