Questions tagged [pyinstaller]

PyInstaller is a multi-platform tool designed to convert Python (.py) files into stand-alone executable files on Windows, Linux, macOS, Solaris, and AIX.

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

How do dependencies work with pyinstaller?

I'm pretty beginner in python, for my classes final project I thought it would be cool to make my program an executable. I found pyinstaller and I figured everything out and I have the .exe, except it ...
Plucaptain's user avatar
0 votes
0 answers
12 views

Python QGIS application to exe with Pyinstaller

I am trying to create a bundled python qgis(3.10 Crouna - ltr) application with pyinstaller(4.5.1). When i create the bundle and after i click the Main.exe which is located under dist folder, it gives ...
Hasan Topçu's user avatar
0 votes
2 answers
51 views

Not able to add images and .kv file in exe file

When exe file of my app created by pyinstaller it is keep showing errors and now this is the last error i found Traceback (most recent call last): File "TestAnalysis.py", line 1, in <...
Learner's user avatar
0 votes
0 answers
50 views

Pyinstaller: using the same .spec file, choose show or not show console

I'm using pyinstaller 5.13.2 for a Pyqt5 application and I want that the final release has no console, but for debug purposes, I want to show the console automatically for develop branch and release ...
Javier Portillo Medina's user avatar
0 votes
1 answer
21 views

How to use PyInstaller to create an executable when VSCode is telling me "pyinstaller is not recognized"

I am using PySimpleGUI to create a GUI for a project. I have a directory that contains the .py file, as well as images I use in the GUI. I want to run this as an executable, so it is easier for me to ...
Isaac Simmons's user avatar
0 votes
0 answers
20 views

Python ,SQLalchemy, Access dbs error pop up when turn it to an exe file

Python ,SQLalchemy, Access dbs error pop up when turn it to an exe file **Note**: works great in Pycharm before using Pyinstaller to turn it to an exe app. Please advise. Tried to import sqlalchemy....
Ouriemchi's user avatar
0 votes
0 answers
24 views

web3 and Pyinstaller. No package metadata was found for eth-typing

I used web3.py to create my program. Code works good. I turned it into exe with PyInstaller, but I`m getting this error, when I try to launch the exe. Traceback (most recent call last): File "...
den7778's user avatar
0 votes
0 answers
14 views

Pyinstaller - Splash screen PNG (transparent) gives pink border

I've successfully created an exe from my python script, including a splash screen using the built in pyinstaller feature (splash). if getattr(sys, 'frozen', False): import pyi_splash pyi_splash.close()...
Terje's user avatar
  • 13
0 votes
0 answers
23 views

How to access included data after deploying exe with pyinstaller?

I used pyinstaller to create an .exe file. I included some files (program icon and loading gif) with: a = Analysis(..., datas=[ ('ui/icon.ico', 'ui'), # Include icon....
Mudu 93's user avatar
0 votes
0 answers
24 views

Pyinstaller and Microsoft SDK unable to find depthengine.so.2.0

I'm trying to build an executable in linux using pyinstaller. When I run the program, I got this error: [2023-11-22 08:32:16.840] [error] [t=5579] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/deloader/...
Dat Le's user avatar
  • 111
0 votes
0 answers
28 views

PyInstaller Executable Returns Nothing?

Running into an issue where when building a python executable using PyInstaller, the executable itself returns nothing.. zilch. nada. There wasn't any errors when building. Has anyone else had this ...
Konsole's user avatar
-11 votes
0 answers
44 views

Heeeeelp mee, pls [closed]

I'm trying to convert a .py to .exe with PyInstaller, but I'm using the command "pyinstaller --onefile filename.py" but the following message is appearing: 'pyinstaller' is not recognized as ...
acLemos's user avatar
0 votes
0 answers
37 views

I am encountering problems while using PyInstaller to package a Qt application that contains a spaCy language model

My Python version is 3.10.13, using a .venv environment. The spaCy model I load is zh_core_web_trf. The code runs normally in VSCode, but when I package it with PyInstaller, it shows an error. I have ...
黑桐谷歌's user avatar
-1 votes
0 answers
43 views

PyInstaller Bundled Tkinter Application Crashes on macOS When Closing Window

I'm experiencing a persistent issue with a Tkinter-based GUI application on macOS. When running the script directly in the terminal, everything functions correctly, including the feature to save data ...
Abdulmajeed's user avatar
  • 1,515
0 votes
0 answers
27 views

I'm using PyInstaller to compile a program that uses skbio. "import skbio" is not being incorporated into the executable version. How can I solve?

I developed a python program that uses skbio (scikit-bio). The program works correctly on my computer. I used PyInstaller to compile my program and forced --hidden-import (py -m PyInstaller MYSCRIPT....
Rita Domingues's user avatar
1 vote
0 answers
20 views

How to resolve "PyInstaller cannot check for assembly dependencies" at runtime

I'm attempting to package a Python program with pyinstaller that loads python modules at runtime from a plugins subfolder. All works, except when packaged with pyinstaller. I think I need to add a ...
Brian Russell's user avatar
0 votes
1 answer
72 views

RuntimeError: Failed to import transformers.models.clip.processing_clip because of the following error

RuntimeError: Failed to import transformers.models.clip.processing_clip because of the following error (look up to see its traceback): [Errno 2] No such file or directory: 'C:\\Users\\xxx\\AppData\\...
Expired_rice's user avatar
0 votes
1 answer
34 views

is it possible to make it so that the executable made by pyinstaller does not close when it run sucessfully [duplicate]

I made a python terminal program for windows and I want it to work in the same way it would work if we were using the Linux terminal. I want the file to finish successfully without adding something ...
Depressito's user avatar
0 votes
1 answer
35 views

Exe file compiled by pyinstaller can't execute on AIX 7.1

I'm trying to compile exe file with pyinstaller on AIX 7.1, but the exe file can't execute, below is my screenshot of error message. The python3 version is 3.9.6, Aix is 7.1 64-bits, pyinstaller is 6....
Tshu Shi's user avatar
0 votes
0 answers
13 views

How do I fix this Python / InstallForge bug preventing PDFs from opening properly using os.startfile?

I've written a Python application that reads in some spreadsheets, performs calculations and makes charts from the data, and then exports a PDF file containing the charts. After the PDF is generated ...
randose's user avatar
  • 15
0 votes
0 answers
18 views

executable built with PyInstaller no longer uses GPU acceleration

I'm working on an object detection project using YOLOv4-tiny and only OpenCV. I've successfully improved performance by utilizing my integrated GPU (Intel HD 520) on my HP EliteBook 840 G3 with the ...
Hijam's user avatar
  • 1
1 vote
0 answers
50 views

Python Script compiles but won't work as .exe

I'm trying to a this script work as a standalone .exe application.I can run it from command line just fine and also compiling to .exe works without throwing any errors. But when I start the .exe only ...
Cypher's user avatar
  • 11
0 votes
0 answers
51 views

Pyinstaller: Twilio package

Does someone get this error packing py project with twilio? "No module named 'twilio' [19300] Failed to execute script 'pcONpcesc' due to unhandled exception!" If i execute de py script with ...
Marco Ferreira's user avatar
0 votes
1 answer
51 views

python pyinstaller pyqt add custom icons to the interface

I have searched everywhere, I can't figure out how to add my own icons to the interface. I don't need to know how to change the application icon or the title bar, what I need is for PyInstaller to add ...
Gabriel's user avatar
  • 13
0 votes
1 answer
55 views

PyInstaller Error: AttributeError with pythoncom Module

I'm encountering an error while attempting to create a .exe file for my Python app using PyInstaller. When running pyinstaller --onefile -w my_script.py, I consistently receive the following error: ...
user22936977's user avatar
0 votes
0 answers
18 views

Pyinstaller Kivy Error while compiling: FileNotFoundError: [Errno 2] No such file or directory (...)

Trying to compile with pyinstaller I get this error 256935 WARNING: stderr: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\F\OneDrive - Universidad Católica de Chile\Python Files\...
Feco's user avatar
  • 1
0 votes
0 answers
12 views

Unable to send the CTRL_BREAK_EVENT signal to the process in no console mode on windows (pythonw / pyinstaller)

We are starting a tool process using the subprocess.popen. To stop the tool we are sending ctrl+c signal so that the tool catches this & does the required clean up & report generation. It is ...
Siva Kranthi Kumar's user avatar
0 votes
0 answers
11 views

Creating a PyInstaller bundle with a Python application that has multiple entry-points

I am trying to wrap some software I wrote into a standalone installer. First, I use PyInstaller to create a stand-alone folder that can be redistributed to end-users. Then, I use NSIS to create a nice ...
Brad's user avatar
  • 117
0 votes
1 answer
49 views

Pyinstaller- File not Found Error: It doesn't find the default.yaml file

enter image description here I'm trying to convert Python code to exe using pyinstaller to load custom Yolov5 model like the picture above, but it keeps saying that it cannot find default.yaml. Even ...
Bella's user avatar
  • 11
-1 votes
0 answers
15 views

Failed to excecute script 'program' due to handle exception: No module named 'pgzrun'

I can't run my app game My alreday have 'pgzrun' to run game in python normallyenter image description here but when I convert it into an app with pyinstaller I get this errorenter image description ...
Đặng Thành Đạt's user avatar
-1 votes
0 answers
40 views

TypeError: expected str, bytes or os.PathLike object, not NoneType in pyinstaller

I'm trying to make an exe file from multiple 'py' files by using pyinstaller. My code include several 'py' files and one of them executes another dos-exe file. From some instruction, I modified 'main....
dave's user avatar
  • 31
-1 votes
2 answers
75 views

AttributeError: 'NoneType' object has no attribute 'flush' with pyinstaller [duplicate]

I've created a python method to print data to screen and in a file: def printf(handler, string): print(string) sys.stdout.flush() if handler is not None: handler.write(str(string))...
sebo's user avatar
  • 70
0 votes
0 answers
43 views

PyInstaller ModuleNotFoundError for 'docx' Despite Using --hidden-import

I want to be able to run my Python script on Windows simply by double-clicking on an executable file, without needing to install Python or other libraries first. I'm trying to create a standalone ...
Sir. wolf's user avatar
0 votes
0 answers
24 views

Fontconfig error only appears after pyinstaller execution

I am trying to make a simple python script into an executable to share with non-python users(people who dont know programming). For this I used pysintaller. Before using pysintaller the program(the ....
Jaime Manuel Garcia Dominguez's user avatar
0 votes
0 answers
13 views

how to use pyinstaller for intel mac on m1 mac

I want to use pyinstaller for intel mac or universal2 on m1 mac. i try to use it using "--target-arch universal2" or "--target-arch x86_64" according to pyinstaller manual. but it ...
khj's user avatar
  • 1
0 votes
0 answers
21 views

can I set the "--disable-console" and "--windows-uac-admin" nuitka options on an already compiled .exe?

I used nuitka (= a program similar to PyInstaller) to compile my Python code into an exe. When I run it, it doesn't run in administrator mode and also opens the console (since I didn't specify those ...
CubeDude's user avatar
0 votes
0 answers
36 views

pyinstaller' is not recognized as an internal or external command

I tried to covert my file to exe and I got this error.Why is that happening.I already insatll pyibnstaller C:\Users\User\Desktop\space invaders> c:\users\user\appdata\roaming\python\python312\...
user22846324's user avatar
-2 votes
0 answers
40 views

How to add Python Module to PATH on macOS?

I've downloaded PyInstaller to turn python scripts into .exe files, including their dependencies, using pip3. However, when I attempt to use Pyinstaller from my terminal it doesn't work. I tried ...
vince's user avatar
  • 1
0 votes
1 answer
53 views

Pyinstaller: Error loading openvino model after packaging the scripts

Problem I have setup a simple project which is importing an openvino model from xml in a python script. When I run the script directly, everything works fine, but when I run the exe after packaging my ...
saurabh's user avatar
  • 95
0 votes
1 answer
87 views

Pyinstaller ignores dll which is part of a dependency

I am creating a slim Python project which is wrapping a native dll, so that other Python developers can use the functionality of this dll without bothering about C-internals. This project can be build ...
Dune's user avatar
  • 293
0 votes
1 answer
60 views

How can I make PyInstaller understand the encoding of my CSV file?

I have a finished Kivy app where everything works as intended, in this GitHub repository. Now I'm trying to use PyInstaller to build an .exe (not a standalone file, but a folder). This is the ...
danielbejcek's user avatar
1 vote
1 answer
26 views

Issues with Microphone Permissions Not Prompting After Code Signing with Hardened Runtime

I'm developing a macOS app with Python and PyInstaller, and I've hit a roadblock with microphone permissions. The app prompts for microphone access correctly when running unsigned. However, after ...
user10658286's user avatar
0 votes
0 answers
77 views

Entry Point Not Found : The procedure entry point PssQuerySnapshot could not be located in the dynamic link library ...\python312.dll

I am trying to compile an .exe from a python script using the pyninstaller with command: pyinstaller --onefile sql.py When I execute the compiled .exe file on the computer on which I compile the ...
Jordan Hristov's user avatar
0 votes
1 answer
33 views

I have problem with installing getch with pip [duplicate]

C:\Users\matya>pip install getch Collecting getch Using cached getch-1.0.tar.gz (1.3 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: getch Building wheel ...
GamingBravl's user avatar
0 votes
0 answers
34 views

PyInstaller, generate binary file to ARM32

I have an image in virtualbox with "xubuntu-22.04.03-desktop-amd64.iso". In this machine I have installed python3.7, pyinstall and others libs, Arquitecture of my virtualbox image. Now, I ...
J.A's user avatar
  • 1
-1 votes
1 answer
34 views

I am using pyinstller to make package of my project, but it gives error when i run that exc file in another pc

it gives error when i run that exc file in another PC. but in my pc that exc file run smoothly , but in another pc it error like this , Traceback (most recent call last): File "main.py", ...
Ashish Kumar's user avatar
0 votes
0 answers
29 views

PyInstaller build application on cross platform (Windows -> Mac)

I do understand that I can not make a cross platfrom build. But is there any possibility that I can make it via some sort of tool? Cause I'm preparing a pandas project for my family that read their ...
Maciej Kajetan Chrzanowski's user avatar
0 votes
0 answers
22 views

How create a a .exe using Pyinstaller from a file with geo pandas lib?

I am trying to create a simple .exe from a file importing geopandas using pyinstaller import geopandas as gpd print('HELLO WORLD') But i get the error: I try the answer at Cannot import Geopandas ...
Vitor Bento's user avatar
0 votes
1 answer
57 views

ModuleNotFoundError: No module named 'kivy.garden.matplotlib.backend_kivyagg'

I've had a problem for a few days now when I try to convert my kivy python application that uses matplotlib into an executable (.exe). Each time I get this error "ModuleNotFoundError: No module ...
user avatar
0 votes
1 answer
33 views

how do I make python selenium file into an exe file with pyinstaller

from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys import time for i in ...
dragonmoney111's user avatar

1
2 3 4 5
131