frontend安装
pip install django-frontend
File "C:\soft\pycharm\pycharmcode\zxf_project\dp_project\ocr_admin\ocr_admin\urls.py", line 20, in <module>
from tasks.views import TaskView
File "C:\soft\pycharm\pycharmcode\zxf_project\dp_project\ocr_admin\tasks\views\__init__.py", line 7, in <module>
from .upload import UploadView, JobView, TaskView, JobInfo, ApplyJob
File "C:\soft\pycharm\pycharmcode\zxf_project\dp_project\ocr_admin\tasks\views\upload.py", line 11, in <module>
from tasks.utils import pCalculateMd5, pGetFileExtension, resolutionPDF
File "C:\soft\pycharm\pycharmcode\zxf_project\dp_project\ocr_admin\tasks\utils\__init__.py", line 8, in <module>
from .pdfTools import resolutionPDF
File "C:\soft\pycharm\pycharmcode\zxf_project\dp_project\ocr_admin\tasks\utils\pdfTools.py", line 7, in <module>
import fitz
File "D:\soft\python3.6\lib\site-packages\fitz\__init__.py", line 1, in <module>
from frontend import *
ModuleNotFoundError: No module named 'frontend'
解决方法
pip install PyMuPDF
参考:http://tieba.baidu.com/p/6218686638