import fitz File "F:\odoo141229\venv\lib\site-packages\fitz\__init__.py", line 1, in <module> from frontend import * Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "F:\odoo141229\odoo\http.py", line 640, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "F:\odoo141229\odoo\http.py", line 316, in _handle_exception raise exception.with_traceback(None) from new_cause ModuleNotFoundError: No module named 'frontend'
pip install fitz安装后不能用,最后发现
pip install PyMuPDF
安装后,fitz就可用了