1. AttributeError: 'Document' object has no attribute 'pageCount'
2. AttributeError: 'Matrix' object has no attribute 'preRotate'
3.AttributeError: 'Page' object has no attribute 'getPixmap'
4. AttributeError: 'Pixmap' object has no attribute 'writePNG'
pip install PyMuPDF==1.19.0 -i https://pypi.tuna.tsinghua.edu.cn/simple