I’m having trouble getting an exe generated by PyInstaller on one PC (PC-Good) working on another (PC-Bad). The exe is created on PC-Good, and executes as expected on PC-Good Both PCs are running Windows 10 Issue occurs on PC-Bad upon calling most of the matplotlib.pyplot methods (such as subplots() or …
Tag: pyinstaller
How do I include this file with pyinstaller?
I have this file certify.command but I have no idea how to include it in pyinstaller -Fw –icon=AppIcon.icns Converter.py. I want my app to run on my other macs and to use my app I need to run the Install Certificates.command file so my app can access HTTPS. I don’t want to install python on my oth…
bug in installing pyinstaller
So I tried the pip install pyinstaller command and thats what happened: So I had this bug: Does anyone know how I can solve it?? Answer The error says: Try installing wheel first. mostly the error describes itself. try going through them carefully, it will save you lot of debugging time. Run this command: Let…
Licenses for dependencies with Pyinstaller
I have an application I have written in Python, that is being packaged with Pyinstaller. From what I understand (and I am not a lawyer) and from the Pyinstaller FAQ bundling the source code and distributing with my own license seems like it is OK (points 1 and 2). I have no intention of modifying the Pyinstal…
Why won’t Tkinter executable capture key combinations?
I’m building an tkinter app on Python 3.7 and creating an .exe with Pyinstaller 3.5 in Windoows 10. When running the code from the IDE, all intended keyboard commands work as expected. However, in the executable, key combinations do not work while single key presses are fine. Here is some test code that…
Django Pyinstaller .EXE gives me ModuleNotFoundError: No module named ‘app.urls’
I am trying to run a Django project using an EXE file compiled using Pyinstaller. But when I run the compiled .EXE file using this command I get ModuleNotFoundError: No module named ‘app.urls’ and another OsError: [WinError 123]. I will explain how I setup this stuff later. Here is the full error …
Using Pyinstaller with NLTK results in error: can’t find nltk_data
I am attempting to export a simple GUI that used NLTK as an exe with Python 3.6 and Windows 10. When I run PyInstaller to freeze my simple program as an exe I get the error: Unable to find “c:usersusrnltk_data” when adding binary and data files. When I even copied the nltk_data folder here and I g…
Converting PDF to Image without non-python dependencies
I want to create an exe that can be deployed onto other computers. The program needs to be able to read pdf’s and turn them into images, but I don’t want other users to have to download dependencies. My understanding is that py2image and wand both require external dependencies that, if you convert…
My PyQt application not works with error – This application failed to start because no Qt platform
I developed a Python program using PyQt5 in Windows 10, and it works very well. Then i made it into .exe file with pyinstaller, but it failed and gave me an error. I searched for similar problems in here and google, but i couldn’t find the same problem – running .py works well but .exe failed. Fol…
exe file not found while compiled with pyinstaller
I want to execute an exe file from a python file that is compiled using pyinstaller I’m using the following code: And I compile it using: Which creates incluse.exe and If I execute it I get the following error: What I want it to do is execute the executable.exe that I included, which should come up with…