How to fix a pyinstaller 'no module named…' error when my script imports the modules pikepdf and pdfminer3?
问题 I've built a working py script using PikePDF and PDFminer3 that will take a PDF off my desktop and create a txt file out of the words available. The purpose of this is to help my team at work amend legal documents that often cannot be copy-pasted for amendments (and must therefore be typed out by hand). As most of my colleagues are averse to setting up anaconda and using python, I wanted to use pyinstaller to turn my script into an .exe. When I run the application created by pyinstaller, I am