title: Pyinstaller executable fails with pkg_resources.DistributionNotFound error
body: <p>I'm making a PDF Tool executable using tkinter. Anyways, the executable was successfully created by pyinstaller, but it won't run. I flagged --onedir and added the necessary dependency files --add-data. I also added the paths to my non standard library packages using --paths flag. When I run the executable from the command prompt, I get this:
  <a href="https://i.stack.imgur.com/hvdTi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hvdTi.png" alt="enter image description here" /></a></p>
  <p>The problem appears to come from the ocrmypdf module and says pkg_resources.DistributionNotFound. I tried searching for the fix, but all the problems I saw were a bit different from my issue because the .py script runs just fine for me. Is this a pyinstaller issue, or am I missing a module? I'm using pyinstaller 4.0 as well.</p>