I have this error only if pymupdf and pillow are installed from Arch repository, if I install from pip no error happens. Also if I remove import pymupdf or import ...
Here's a quick guide on how to import images into Blender 2.8 Subscribe! subscribe subscribe subscribe subscribe ...