Category "pyinstaller"

How to convert .py to .exe and run as a background function on windows while retaining args?

I'm looking to run a python script that calls commands through subprocess depending on various arguments that are given to it. For ease of use it would be valua

Why Is pyinstaller replacing my file directory?

edit: How To Use --add-data with an entire folder? Im converting my .py file to .exe using pyinstaller. but when i run it, it gives me this error: Failed To Ex

Creating universal build for mac os with pyinstaller and python3

I have two mac machines. One is intel based and running big sur and second is M1 and running big sur. I am trying to build a sample hello world package using py

Pyinstaller fails to import module __PyInstaller_hooks_0_IPython

I am building a project just for fun and I want to turn it into an exe but it gives me the error PyInstaller.exceptions.ImportErrorWhenRunningHook: Failed to im

PyInstaller with Python: 3.10.0b4 - ImportError: No module named _bootlocale

I have Beta 4 of Python 10 installed (which I must use because I need pattern matching feature only available in v3.10): C:\Users\myname\Documents\Projects\Proj

Utilising Cython with Pyinstaller

I am trying to build a program in python using Cython and PyInstaller. Before starting, I built this test program. However, the two modules aren't working toget

How to build a .exe program from the Anaconda environment (Python 3.7)

How can I build a .exe program from my Anaconda environment to get a standalone application?

Kivy exe file showing a blank grey canvas

I'm getting a grey window only. Earlier my application crashed due to window not found error. I used this thread. It fixed that error, now im left with a grey w

Using Tshark in compiled python exe

I have a working python script, which uses and imports pyshark, and therefore tshark. As long as I run the code via pycharm, everything is fine. As soon as I us

Keep TopLevel window in front of main window

I created a TopLevel window that appears in front of my main window when it pops up. It works as intended when I run the program from the command line. The prob

pyinstaller cannot see configparser

I am using configparser in a python application When I run the application python main.py it works. However if I use pyinstall to create a windows exe, the

Pyinstaller --onefile warning file already exists but should not

When running Pyinstaller --onefile, and starting the resulting .exe, multiple popups show up with the following warning: WARNING: file already exists but should

Pyinstaller Import Issues with Jinja2

There are a couple post in regards to Pyinstaller having issuing recognizing jinja2, unfortunately none have resolved my issue. Ideally if Pyinstaller supports

LSOpenURLsWithRole() failed with error -10810 for the file /Users/gb/myapp/dist/MyApplication.app

Environment: Python 3.8 Pyqt5 Mac OS X Catalina 10.15.6 I am trying to compile my python program in Mac OS application. I get this error message when I open the

Pyinstaller failed to execute script: FileNotFoundError: No file or directory: 'C:\\Users\\etc'

I have a python file I am converting to exe via Pyinstaller. The coversion runs fine with no error, however when I run the exe file I get error in line 13 of t

After pyinstaller: ImportError: attempted relative import with no known parent package

in pretty new to the Python game and i am trying to convert my python tkinker GUI to an .exe via pyinstaller. The converting succeed if i comment out everything

Pyinstaller doesn't include django rest framework templates

I have a django app that uses rest_framework, and everything works perfectly, I am using pyinstaller to get an exe for this app, the executable app works fine,

Pyinstaller - Error loading Python DLL - FormatMessageW failed

I compiled my .py file running following commands: pyinstaller myfile.py --onefile. When i run it on my pc(Windows 10) everything works just fine. When i t

Pyinstaller throwing out AssertionError

So, I had been working on this game i created using sockets and pygame, and now I wish to send it to another computer. I do not want to send the files as is, bu

Permission Error: [Errno 1] Operation Not permitted

I am trying to add some .txt files to my code in pyinstaller, but when I do pyinstaller maze.spec, I am getting a permission error. I thought a simple sudo woul