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'

Traceback (most recent call last):


 "app.py", line 6, in <module>

import bs4


 "D:\Program 
s\Python\lib\site-packages\bs4\__init__.py", line 35, in <module>

from .builder import builder_registry, ParserRejectedMarkup


 "D:\Program 
s\Python\lib\site-packages\bs4\builder\__init__.py", line 7, in <module>

from bs4.element import (


 "D:\Program 
s\Python\lib\site-packages\bs4\element.py", line 10, in <module>

from bs4.dammit import EntitySubstitution


 "D:\Program 
s\Python\lib\site-packages\bs4\dammit.py", line 14, in <module>

from html.entities import codepoint2name
ImportError: No module named html.entities
