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
2 answers

How to get the correct path to a json file from the customtkinter module

I made my GUI using customtkinter. I used auto-py-to-exe to make it an file. The exe file doesn't open because of an theme json file missing error. The path to the correct file is…
Darkshadogt
  • 49
  • 1
  • 5
1
vote
0 answers

I used subprocess.popen in GUI(pysimplegui) python script it is working fine on pycharm and when I make its exe file is making its clone

I used subprocess.popen (for open webdriver) in GUI(pysimplegui) python script, it is working fine on pycharm and when I make its exe file is making its clone while clicking on a specific buttonenter image description here elif event == 'web': …
1
vote
1 answer

Can't make executable file from eel app in python

When I try to create an executable with auto_py_to_exe it builds fine, but when I run it it throws an error: Failed to execute script 'main' due to unhandled exception: 'NoneType' object has no attribute 'write' Traceback (most recent call…
crybaby
  • 37
  • 1
  • 6
1
vote
1 answer

INTEL MKL ERROR: The specified module could not be found. mkl_intel_thread.1.dll. Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.1.dll

I want to create an .exe file from .py file using Auto Py To Exe. Everything works fine, file is created, but when I try to open it, I have an error: INTEL MKL ERROR: The specified module could not be found. mkl_intel_thread.1.dll. Intel MKL FATAL…
ASAS
  • 41
  • 8
1
vote
1 answer

Py installer issue

I want to extract my python script to exe file I am using a lot of packeges but customtkinter is different you have to do like this and my command is this pyinstaller --noconfirm --onefile --windowed --icon "C:/Users/pc/Desktop/main_icon.ico" --name…
1
vote
2 answers

Auto-Py-To-Exe Not able to run

I am trying to run Auto Py To Exe, Without luck. Getting this error message: ` C:\WINDOWS\system32>auto-py-to-exe Traceback (most recent call last): File "c:\users\michi\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in…
1
vote
0 answers

How to set up Auto-Py-To-Exe so it looks at VENV for dependencies

I've been stuck on this problem for a while now and I've looked at all the posts possible and cannot fix it... I don't use PyCharm - I use VSCode How to include dependencies from venv directory when running pyinstaller for project built in…
1
vote
0 answers

How do I update the code of an exe file made by auto-py-to-exe

I used auto-py-to-exe to generate a exe file for my python code that inly runs in console window. I have noticed if I try to update my code for example adding on a new print statement it won't update. How should I fix this? I looked in file that…
JasoPC
  • 15
  • 7
1
vote
1 answer

PyInstaller - FileNotFoundError: [Errno 2] No such file or directory

I'm not too familiar with using PyInstaller but I have been trying to use it to convert my .py files to a single exe. I am using Windows 10 with Python 3.10.5 and PyInstaller 5.2. My files look like the following: Scripts Folder -venv…
brj
  • 11
  • 1
  • 4
1
vote
2 answers

How to make python not close it self after error, python exception

I have made an program in python that i converted into .exe using auto-py-to-exe and im wondering how to stop .exe stop closing it self after an error (python exception) the .exe closes it self in the speed of light and you cant read the error. Does…
1
vote
1 answer

Auto py to exe executable file only working when in folder with python script and additional file

I have created an executable file of a python script that uses a text file a.txt. I have created a one file executable using the script file bot.py and the text file a.txt together. However, the executable only works when it is in the same folder as…
1
vote
1 answer

The term 'auto-py-to-exe' is not recognized error while converting the .py file to .exe

After I finish my python project, I tried to convert it to .exe file, so I use python version 3.10. I already installed the auto-py-to-exe app from the cmd but when I want to open it I get this error: auto-py-to-exe : The term 'auto-py-to-exe' is…
Moamen
  • 13
  • 3
1
vote
3 answers

Pyinstaller error when I convert to Python

I had a error I can't do anything with. when I convert python to exe and follow the debug using --debug I saw this error ModuleNotFoundError: No module named 'PIL' with another error said FileNotFoundError: [Errno 2] No such file or directory:…
1
vote
1 answer

auto-py-to-exe cannot get rid of torch and torchvision errors

I've been reading every single post I found here and online with similar problems but none solved my problem. I am trying to convert my python app to a exe file using auto-py-to-exe. I got rid of most of the errors exept one. The application starts,…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
1
vote
1 answer

error while running an .exe generated by auto-py-to-exe

While generating a .exe via auto-py-to-exe, I face the following output in auto-py-to-exe window. Running auto-py-to-exe v2.18.0 Building directory: C:\Users\user_name\AppData\Local\Temp\tmpcujb3jiw Provided command: pyinstaller --noconfirm…
Jack math
  • 67
  • 8
1
2
3
12 13