pyinstaller --onefile --add-binary "C:/vcpkg/installed/x64-windows-static/tools/tesseract/tesseract.exe;." --add-binary "C:/poppler/Library/bin;poppler/bin" --add ...
First, you'll need to install pyinstaller and any other packages you want into a conda environment: $ conda create -n bundle python=3.7 pyinstaller other-deps ... $ conda activate bundle Next you'll ...