Traceback (most recent call last):


 "/home/py3/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 15, in <module>

import MySQLdb as Database


 "/home/py3/lib/python3.6/site-packages/MySQLdb/__init__.py", line 19, in <module>

import _mysql
ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory

Traceback (most recent call last):


 "/home/USER/.local/bin/ocrmypdf", line 6, in <module>

from ocrmypdf.__main__ import run_pipeline


 "/home/USER/.local/lib/python3.6/site-packages/ocrmypdf/__init__.py", line 46, in <module>

from . import pdfinfo


 "/home/USER/.local/lib/python3.6/site-packages/ocrmypdf/pdfinfo/__init__.py", line 32, in <module>

from . import ghosttext


 "/home/USER/.local/lib/python3.6/site-packages/ocrmypdf/pdfinfo/ghosttext.py", line 21, in <module>

from ..exec import ghostscript


 "/home/USER/.local/lib/python3.6/site-packages/ocrmypdf/exec/ghostscript.py", line 25, in <module>

from PIL import Image


 "/usr/lib/python3/dist-packages/PIL/Image.py", line 66, in <module>

from PIL import _imaging as core
ImportError: cannot import name '_imaging'
