Bundling data files with PyInstaller (–onefile)
I’m trying to build a one-file EXE with PyInstaller which is to include an image and an icon. I cannot for the life of me get it to work with --onefile.
I’m trying to build a one-file EXE with PyInstaller which is to include an image and an icon. I cannot for the life of me get it to work with --onefile.
I have an application that resides in a single .py file. I’ve been able to get pyInstaller to bundle it successfully into an EXE for Windows. The problem is, the application requires a .cfg file that always sits directly beside the application in the same directory.
I have created an exe file using Pyinstaller.
I have a simple pandas pyinstaller exe which is over 40MB.
I am having a tough time overcoming this error, I have searched everywhere for that error message and nothing seems relevant to my situation:
I have recently written a fairly simple program for my grandfather using Python with GUI from Tkinter, and it works beautifully for what he will be using it for. However, there is, of course, the ugly console output window. I have successfully gotten rid of it by simply changing the extension of the file from .py to .pyw. When I freeze it using PyInstaller, it reappears again! Is there any way for me to fix this?
I am trying to use pyinstaller in cmd but I receive error:
I’m using QtWebEngineWidgets, QtWebChannel to create PyQt5 application, which uses HTML, CSS, JavaScript.
I try to compile a Python project under Windows 7 using PyInstaller. The project works fine, there are no issues, however when I try to compile it the result doesn’t work. Though I get no warnings during compilation there are many in the warnmain.txt file in the build directory: warnmain.txt
I have made a program with python 3.7 using tkinter aswell. Since I am using external pictures I need to include them when I compile everything to one exe. I have tried doing --add-data "bg.png;files" but I still get this error: