Questions tagged [auto-py-to-exe]

Auto PY to EXE is a .py to .exe converter using a simple graphical interface and PyInstaller in Python.

auto-py-to-exe is a tool to make packaging Python scripts to an executable/bundle on Windows easier. The interface uses Chromes app mode and a small Python server in the backend.

screenshot of auto py to exe running

184 questions
5
votes
9 answers

how to fix 'auto-py-to-exe' is not recognized as an internal or external command, operable program or batch file

I have python 3.9 I used the command 'pip install auto-py-to-exe' and it downloaded but when I tried to using the command 'auto-py-to-exe' the program just said " 'auto-py-to-exe' is not recognized as an internal or external command, operable…
Vyom Bhandari
  • 69
  • 1
  • 1
  • 2
5
votes
4 answers

auto-py-to-exe stuck at Loading module hook 'hook-gevent.py'

I am trying to convert the code to exe with auto-py-to-exe. It stuck at "Loading module hook 'hook-gevent.py'...". import time, pyautogui, keyboard, threading from tkinter import * window = Tk() window.title('KONG Spammer') window.resizable(False,…
Floomy
  • 51
  • 2
3
votes
1 answer

Process error when Python exe built using auto-py-to-exe

This question did not help: PyInstaller and multiprocessing Please note I added below line in my program and that did not help to resolve the problem as explained below on Ubuntu platform. multiprocessing.freeze_support() Failed to create nested…
3
votes
2 answers

Cant create .exe with PyInstaller when OpenAI's Whisper is imported

I am trying to create a small program that works with OpenAI's Whisper. I then build the Python script to the .exe file using PyInstaller (auto-py-to-exe). When I run the .exe file, I get the following error: Traceback (most recent call last): …
3
votes
0 answers

Python multiprocessing and auto py to exe

I am currently working on a random characters generator which use multiprocessing to accelerate the process. I use if __name__ == "__main__": to avoid the whole code to run multiple time, but whenever I use auto py to exe to compile it and run it,…
Juloup 78
  • 31
  • 4
3
votes
1 answer

How to convert .py to .exe (32bit)

I created an application using PyQt5, and I'm willing to convert it to a 32bit executable file (.exe) using auto-py-to-exe! I searched a lot about this and figured out that I should use a 32bit version of Python for this…
Shayan
  • 5,165
  • 4
  • 16
  • 45
2
votes
0 answers

How to bundle a program with auto-py-to-exe without changing PATH?

I want to include an external program with my Python program that I'll be turning into an .exe. The program is Antiword, which is used by textract to parse .doc files. If I have Antiword on my machine and modify the PATH environment variable to…
mkranj
  • 144
  • 8
2
votes
1 answer

Error when packaging eel project to an exe

I am building an python project with Eel, and I'm trying to package my program to an exe with PyInstaller as instructed in the documentation. However, I get the following error when I open the .exe: Error Traceback (most recent call last): File…
Tim
  • 155
  • 1
  • 11
2
votes
0 answers

having trouble running auto-py-to-exe

I was having trouble running auto-py-to-exe and after executing, this will appear. I'm not sure if any of my installed packages are cause for this issue. I tried to reinstall but still this problem will appear. What can I do to fix…
Nada
  • 21
  • 2
2
votes
1 answer

ValueError: Package 'soundfile' does not exist or is not a package! on auto-py-to-exe

While converting a python programm that uses pytorch and pyaudio to .exe I´m getting "ValueError: Package 'soundfile' does not exist or is not a package!" on auto-py-to-exe even though it works fine in PyCharm and I have checked that soundfile is…
Lol Tesch
  • 21
  • 1
2
votes
0 answers

pygame exe program wont connect to server

so i made a game on pygame which is to be played over a LAN. it works fine when i run the server and i create client instances on my own machine. and i even used auto-to-py-exe to make it an executable so i can test it on other computers. The…
Matt
  • 21
  • 2
2
votes
1 answer

Error when transforming my Python code to .EXE using Auto Py to Exe

After converting my Python code to an executable, I am getting the following fatal errors when trying to run the program: 1. Failed to run pyiboot01_bootstrap script 2. Error: "NoneType" object has no attribute "write" 3. Error described in the…
Kelevra
  • 23
  • 3
1
vote
0 answers

Auto-py-to-exe not working because of some weird missing module

I've used auto-py-to-exe in the past, I've had issues with it but ultimately it worked fine and I made a few .exe files which worked as intended. However, today testing it again for a project nothing worked. I tried converting the simplest files,…
Plush Loler
  • 23
  • 1
  • 3
1
vote
0 answers

Subprocess creates a child process, but does not run the script

There is a socket server that is working properly, they asked me to make a minimal interface to it, I did it using PyQt5 there are 2 buttons in it: Starting the server and Shutting down the server, implemented via subprocess as follows: Launch: def…
Pavel_G
  • 11
  • 3
1
vote
0 answers

Creating a .exe from 3 files

I have the following main script that calls using the subprocess function 2 scripts, the first one is a GUI and data process, and the second one deletes temporary files created by the first script. import subprocess import…
1
2 3
12 13