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

Failed to create nested child process when python exe built using auto-py-to-exe on Ubuntu

Below "main.py" Python program works ok when I run it using python3 (v3.8.10) command on Ubuntu v20.04.4 LTS. import multiprocessing as mp def P3_sm(): print("P3 created.") print("P3 destroyed.") def P2_sm(): print("P2 created.") …
0
votes
0 answers

How to add ffmpeg in my python program in exe

I created a program that downloads videos from YouTube and in the last step I use the ffmpeg library to combine audio and video streams into one video file. Then I converted this program to exe using auto-py-to-exe. But the program works only on a…
0
votes
0 answers

How can I set environment variables in Auto Py To Exe?

Just like the title says, I need to set some environment variables, I've gone through the entire Advanced tab and setting but I cant find any option or entry for setting Environment variables, can anyone help me with that? Note that I'm using Auto…
Adam
  • 21
  • 4
0
votes
0 answers

Python script looking for images in C:\WINDOWS\system32 when running as a scheduled task

I have created a simple python executable file using auto-py-to-exe where certain messages are displayed which also has some images in the messages. The one file executable script works perfect when I open it myself by going to the folder where I…
0
votes
0 answers

How can I compile Python code with only the necessary parts of a module?

How can I compile Python code with only the required parts or functions from a module, such as including Keras from TensorFlow but not the whole TensorFlow library? I have tried using PyInstaller and Nuitka, but they include the whole TensorFlow…
0
votes
1 answer

Fatal error detected: error loading python dll 'python311.dll'

I try to compile my python script with auto-py-to-exe, and it worked great (on Windows 10). But when i tried to run the program on another computer (on Windows 7). At first there was an error there is not enough 'api-ms-win-core-path-l1-1-0.dll'.…
quetor
  • 1
  • 1
0
votes
2 answers

Reading/writing apache feather files from a compiled python script fails

I'm trying to create a script that converts a csv file to a feather file, then compile that script to a stand-alone exe which can be invoked from other applications supplying two parameters - path to a csv file and a path to the output feather file.…
dqu
  • 1
  • 1
0
votes
1 answer

Get the path where the .EXE file has been executed

I have generated an .exe from the script using auto-py-to-exe and it works correctly. The problem comes when it comes to get routes. When I run the program I get this: Script located at: C:\Users\username\AppData\Local\Temp\_MEI26762 Bases are taken…
0
votes
0 answers

Syntax error invalid non-printable character U+00A0

I´m converting a py file to .exe, with auto-py-to-exe, but I have this error An error occurred while packaging SyntaxError: invalid non-printable character U+00A0 My code is the following import re import pandas as pd from unidecode import…
0
votes
0 answers

Hidden import for matplotlib and PIL don't work in auto-py-to-exe

I'm trying to convert python script to exe file. When i specify hidden imports(pandas, matplotlib, Pillow) I got error: Hidden import 'Pillow' not found. No errors abour matplotlib but when I run exe file I've also got error at the line of code…
0
votes
1 answer

TypeError with using Pyinstaller and Pandas (using auto-py-to-exe)

I'm using auto-py-to-exe (which uses pyinstaller) , i've used it numerous times before with no issue, but for some reason I tried it today and couldn't get it to work with Pandas. Simple Program that only has: Import Pandas as pd For some reason I…
jxfuller1
  • 1
  • 2
0
votes
1 answer

Etas dll NULL pointer exception

I do have a problem with the following code when converting it to an .exe. from can.interfaces.etas import EtasBus if __name__ == "__main__": channels = EtasBus._detect_available_configs() for entry in channels: …
0
votes
1 answer

Is there a way to convert python scripts to an executable/application that can work on BOTH PC and Mac?

Long story short, I created a process automation tool using Python and Tkinter. I used auto-py-to-exe to convert the python scripts into an executable that works like an application on PCs. My only problem is that the users of the "end application"…
sw4ps
  • 35
  • 5
0
votes
1 answer

autopytoexe giving me no module found cryptodome in a .exe file I created

I have an issue when I create a .exe file with autopytoexe. My command is `pyinstaller --noconfirm --onefile --console "C:/Users/user1/Desktop/test/script.py" the problem is when I run this .exe I get Traceback (most recent call last): File…
0
votes
2 answers

Python kivy doesn't work when I convert my code to exe

As a code, it works without any problems but when I convert it to exe, I get Unable to get window, abort error I tried all the solutions I found in the forums Can a person who can convert this code to exe for me tell me how he did it? from…
NUrluk
  • 3
  • 2