Skip to content Skip to sidebar Skip to footer

Include Poppler While Generating An Application Using Pyinstaller

I am using poppler to read pdfs Poppler folder is located with my source file as shown below. Code below: pages = convert_from_path(pdf_file,500,poppler_path = r'.\\poppler\\bi

Solution 1:

Started using onedir approach instead of onefile.Works fine now.

Below is the updated pyinstaller command:

pyinstaller --noconfirm--onedir--windowed--add-data--add-data "C:/Users/projectPath/poppler/*;./poppler" "C:/Users/projectPath/AutoUpdate.py"

Post a Comment for "Include Poppler While Generating An Application Using Pyinstaller"