Traceback (most recent call last):


 "/home/pim/.local/bin/ocrmypdf", line 5, in <module>

from ocrmypdf.\_\_main__ import run


 "/home/pim/.local/lib/python3.7/site-packages/ocrmypdf/\_\_init__.py", line 21, in <module>

from ocrmypdf import helpers, hocrtransform, leptonica, pdfa, pdfinfo


 "/home/pim/.local/lib/python3.7/site-packages/ocrmypdf/pdfinfo/\_\_init__.py", line 19, in <module>

from ocrmypdf.pdfinfo.info import Colorspace, Encoding, PdfInfo


 "/home/pim/.local/lib/python3.7/site-packages/ocrmypdf/pdfinfo/info.py", line 37, in <module>

from ocrmypdf.pdfinfo.layout import get_page_analysis, get_text_boxes


 "/home/pim/.local/lib/python3.7/site-packages/ocrmypdf/pdfinfo/layout.py", line 29, in <module>

from pdfminer.pdfdocument import PDFTextExtractionNotAllowed
ImportError: cannot import name 'PDFTextExtractionNotAllowed' from 'pdfminer.pdfdocument' (/home/pim/.local/lib/python3.7/site-packages/pdfminer/pdfdocument.py)

``` Traceback (most recent call last):


 "main.py", line 19, in <module>

from opencensus.trace.tracer import Tracer
ImportError: cannot import name 'Tracer' 
