Script using pdfplumber transfered into exe using pyinstaller can not recognize PDF #989
Unanswered
Junjie-Fan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,maintaners:
Thanks for publishing so useful libs. I have a question that when I turn my script into exe format using pyinstaller and run the exe, it shows that
pdfminer.pdfparser.PDFSyntaxError: No /Root object! - Is this really a PDF?
By the way I use the commond
pyinstaller.exe -F mypython_script.py
to transfer the python script into exe and use the functionpdfplumber.open(file_name)
to open the PDF file.It works successfully when I just use the python script. Is there are some mistakes in my process?
Looking for somebody to help me out!
Beta Was this translation helpful? Give feedback.
All reactions