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
1
vote
1 answer

How to solve the ModuleNotFoundError when using auto-py-to-exe?

I tried to convert a .py to .exe, but a traceback is occurring when the .exe is opened, showing this message: Traceback (most recent call last): File "Desformatador_1.0.py", line 1, in ModuleNotFoundError: No module named…
1
vote
0 answers

Add additional files into one file Auto Py 2 Exe

So I used AutoPy 2 Exe to put a script with additional files into a single executable last year. Now the application needed a second option, added it however after compiling it for the life of me I can't get it to run anymore. The app doesn't do…
RawalD
  • 361
  • 2
  • 14
1
vote
2 answers

Python app to one file .exe, after compiling app won't run

Hello once again editing, My major issue was resolved, however, my up running to new issues when compiled, probably deserves a new post. I'm trying to research this issue. So far I found up that pyinstaller does not do jinja2. However, I can see in…
1
vote
1 answer

Auto Py To Exe: Couldn't find pymysql import

Python script (v3.6) runs fine in PyCharm, however when the same is converted via Auto Py To Exe then gives following error in CMD. Traceback (most recent call last): File "export_members.py", line 2, in ModuleNotFoundError: No module…
Ayub
  • 510
  • 2
  • 6
  • 21
1
vote
2 answers

Use Auto-py-to-exe from python script?

I can successfully convert my .py files to .exe files through the auto-py-to-exe program. However is there a way to do it completely from a script? for example: import auto-py-to-exe contained file console…
Aaron
  • 121
  • 11
0
votes
1 answer

Pyinstaller images data put in the root file but error not found

I created a one dir exe with pyinstaller from my Python source code. In my code, I use images with the images relative image path put next to the .py files. As I read the pyinstaller doc I tried 2 things: the official way with the -add data and…
0
votes
1 answer

Virus was found in my python program after recompiling into exe?

I received a message from windows defender, saying, that my pc is infected with Trojan:Win32/Wacatac.B!ml virus. But worst of all, this virus was found in my python script. C:\Users\USER\Downloads\My Diary 6\My_Diary_6.exe - this is my program,…
0
votes
0 answers

How can I convert my Code written in PyCharm and Env Conda to an Executable?

i wrote a code which works on PyCharm, with Conda but I am not able to use auto-py-to-exe because the exe never works. This is the code: import os from PyPDF2 import PdfReader, PdfWriter from reportlab.lib.pagesizes import letter from…
Max
  • 1
0
votes
1 answer

How to add .env files in auto-py-to-exe

How do you use auto-py-to-exe's -onefile and add a .env? I'm programming a python app that has API Key and I'm wondering how you can add a .env file to auto-py-to-exe.
Ender Dangered
  • 103
  • 1
  • 8
0
votes
0 answers

Error while converting my eel python project to .exe file

I have made a single page project eel where I take the user id and print it in python whenever the person clicks on the button. It runs smoothly on normal run in vs code. But when I converted it to .exe file It is throwing me error. I have tried…
0
votes
0 answers

Prevent PyInstaller Splash Displays Imports

How can I prevent such statements (import statements that are used in my code by the code itself or another module) from being shown on the splash page? I am not looking for it to be disabled as I do update it within my code, but just looking for it…
Safeer Abbas
  • 393
  • 4
  • 9
0
votes
0 answers

I have 3 different programs login,home and main which I have connected using subprocess module .. now after converting to exe, this transition fails

Basically, I gave login.py as main source file in auto-py-to-exe and the other 2 files as additional files. Now that I have converted them into an exe file, only login works. Whenever I try to transit to other 2 files, a window opens and closes in…
0
votes
2 answers

What's the difference between PyInstaller and auto-py-to-exe?

I am developing a small app for macOS that I want to convert as an executable. For this I use auto-py-to-exe. I always thought it's just a GUI for PyInstaller, but this article states, that "Another advantage is that Auto-py-to-exe creates an…
gernophil
  • 177
  • 2
  • 6
0
votes
1 answer

auto-py-to-exe keeps initializing and doesn’t stop

auto-py-to-exe keeps initializing, have closed and opened it same thing, have rebooted my system but same thing, doesn’t allow me click on browse to select the python file I want to convert to exe I tried opening it using command prompt…
0
votes
0 answers

Auto Py To Exe suddenly giving me Errno 13 and it never has before

I use Auto Py to Exe to convert my python scripts into executables. I've used it probably a dozen times with no issues. Today I tried to use it and am suddenly getting the message: "PermissionError: [Errno 13] Permission denied:…
Jimmy Genslinger
  • 557
  • 3
  • 21
1 2
3
12 13