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
0
votes
0 answers

usb.core.NoBackendError: No backend available in Windows app

The python script has been converted to exe app using auto-py-to-exe. Py script works without errors, but when I run the app, this error appears. I tried the same with libusb1 with libusb-1.0.dll, maybe I need to add some additional modules when…
0
votes
0 answers

trying to fix no module named pkg resources error with poetry

im having an issue while trying to run autopytoexe lib. when searching for answers, i found this answer No module named pkg_resources and it was very helpful. but im using poetry, and just run a poetry update setuptools didnt work well for me. i…
0
votes
0 answers

input() not working in a .exe file in python

input gives me an error everytime I try to start the .exe file Error: Traceback (most recent call last): File "working.py", line 58, in RuntimeError: input(): lost sys.stdin I tried to make a little afk bot and it worked in my terminal…
0
votes
1 answer

Executing Python File to Exe ImportError: DLL load failed while importing win32gui:

I have a python script, that is changing your cursor, when you run the script. The problem is, that if I run the python file, then it works without any problems, but after I executed the file to an exe and I run that, I get the error message (in my…
0
votes
1 answer

I get this error when with autopy when making a py to exe. how can I solve this?

I get this error with auto-py-to-exe, when passing a .py to executable and running the exe: Traceback (most recent call last): File "NNbacktest.py", line 29, in File "", line 1007, in _find_and_load File…
cansado
  • 1
  • 3
0
votes
1 answer

tkinter comboxes don't appear after converting the GUI app to a .exe

I have created a GUI application with tkinter for data analysis. In the app I have several comboxes to list down the sheets of an uploaded excel file. The user can select a sheet name from the combox and the code will read the columns to process the…
Chat0924
  • 41
  • 7
0
votes
1 answer

Python 3.9 , autopytoexe, numpy & sklearn gives me a problem. How to solve this?

I'm using auto-py-to-exe with python 3.9.13 but when running autopy, to make a single file, it gives me this warning: C:\Users\jsgas\AppData\Local\Programs\Python\Python39\lib\site-packages\PyInstaller\building\build_main.py:174: UserWarning: The…
cansado
  • 1
  • 3
0
votes
0 answers

How to fix the bug in Command Prompt: 'auto-py-to-exe' is not recognized as an internal or external command, operable program or batch file

how to fix: 'auto-py-to-exe' is not recognized as an internal or external command, operable program or batch file. I checked and I add the proper path to Environmental Variables: Microsoft Windows [Version 10.0.19044.2364] (c) Microsoft…
ASAS
  • 41
  • 8
0
votes
2 answers

Pyinstaller .exe file giving me "no module found cryptography" error in the console

I wrote one program in python on my Linux virtual machine, and converted it to .exe using pyinstaller, but the console on my windows VM gives me this error: Traceback (most recent call last): File "python file.py", line 2, in…
0
votes
1 answer

how do i fix the "module not found" error in auto-py-to-exe?

im making an autoclicker just to mess around, and when i package it with auto-py-to-exe it exports but when i try running it normally it just crashes. when i run the .exe from cmd (with the path) this error comes…
Sadqwe27
  • 11
  • 1
0
votes
0 answers

When converting .py to .exe all files not working

I want to convert a python code in to exe there are 7 python files of a application when I convert using auto py to exe 1st file converted in to exe but when I want to jump to other page i am exited from the application why? I used os module for…
pratap
  • 1
  • 2
0
votes
1 answer

exe is giving an error while execution, after create exe from auto-py-to-exe

I have created exe using auto-py-to-exe, after exe created I tried to run exe so i got an error like "No package metadata was found for pikepdf" I reinstalled the pikepdf and I also downloaded the package from github but still not solved that…
0
votes
0 answers

Unable to convert Python to Window Based app .exe

I'm converting my Main.py python code to .exe application and I need to load ids.txt there are some values line by line, but after converting is done the Auto-py-to-exe-master free Github app says this error message: Traceback (most recent call…
Jane1990
  • 184
  • 1
  • 1
  • 12
0
votes
1 answer

Tkinter auto-py-to-exe distorted widgets when running in laptop with no python installed. in

I have made a python tkinter program and converted it to exe using auto-py-to-exe, it is not showing GUI properly on a laptop with no python installed.I have used (.place) to set proper alignment of widgets but it is showing distorted on a different…
PANKAJ
  • 39
  • 7
0
votes
1 answer

How to embed and run a jar file using python

I have a python script that will run the jar file when script is executed: import subprocess jdk_path = "jdk\\bin\\java.exe" jfx_path = "javafx\\lib" modules = "javafx.controls,javafx.fxml,javafx.swing" jar_file = "setup.jar" command = jdk_path + "…
Mustafa Poya
  • 2,615
  • 5
  • 22
  • 36