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

Trouble Converting .py to ,exe with auto-py-to-exe

I am new to python and tkinter, but I made a Hangman game that uses two external text documents to get words (easy and hard). I want to convert it to .exe but when I try to use auto-py-to-exe, after it finishes converting, the .exe always gives a…
0
votes
1 answer

Unable to install auto-py-to-exe; Coudn't find a version

I am unable install auto-py-to-exe Could not find a version that satisfies the requirement cffi>=1.12.3 (from versions: ) No matching distribution found for cffi>=1.12.3 I would be glad if anyone could help me. Thank you
Michael
  • 21
  • 4
0
votes
1 answer

Auto-Py-To-Exe - win32api - ModuleNotFoundError

I have been attempting to compile a python project that uses these imports import os import numpy import sys import pytube import time from moviepy.editor import * I have installed all of them via pip and I have also been looking around for trouble…
IWick
  • 48
  • 5
0
votes
1 answer

Installing auto-py-to-exe module for Python 3.7 returns an error on Windows

I am trying to install the auto-py-to-exe module using the following command: pip install auto-py-to-exe but returns the following error: ERROR: Command errored out with exit status 1: command:…
user11891481
-1
votes
0 answers

Auto-py-to-exe Creating File in the .exe Directory

I used auto-py-to-exe to convert a project that has 3 py files to one .exe file. One of the scripts (not the main one) saves a pandas df as a csv at the same directory, and when you reopen the script, it reads the csv file. However when I turned the…
-1
votes
0 answers

codesigning with auto-py-to-exe takes ages

I've ported an app based on Python from Windows to macOS. I can run the app from command line and I was also able to make an .app file an start it on my mac using auto-py-to-exe. Now I want to codesign (and later notarize) it. To do so I set the…
gernophil
  • 177
  • 2
  • 6
-1
votes
1 answer

PikePdf installation failure only when using pyinstaller

I am trying to install use pyinstaller to turn all my scripts into an exe file. I am just using auto-py-to-exe which I believe uses pyinstaller under the hood. However, I've come across this issue: Traceback (most recent call last): File…
-1
votes
1 answer

How to run functions as if it was in a shell if the py file has been converted to exe

So I wrote a program that can manipulate excel files. What I like is to run the script in an interpreter and to call the functions from the shell, and that works fine. What I want to do, is doing the same on a computer that doesn't necessarily have…
Vectir
  • 1
  • 2
-1
votes
1 answer

Why did I randomly lose access to windows command promt?

A bit of background: I'm trying to convert a python tkinter script I have into an .exe for my coworkers to use. I installed pyinstaller successfully and was able to run pyinstaller my_script.py --onefile however I could never get my application to…
-1
votes
2 answers

Pyinstaller error 'Failed to determine version'

from the error 'Unhandled exception in script' I can see that it somehow doesn't recognise module Mindee in my code it's imported as 'from mindee import Client, documents' I tried --hidden import, but nothing seems to work it's always the same…
Jæcob
  • 11
  • 1
-1
votes
2 answers

Unable to build kivy image loaded .py file into exe using auto-py-to-exe

I have a simple kivy file in which i want to cover the entire canvas with an image bgi.jpg MainWidget: : canvas.before: Rectangle: size:self.size source:'bgi.jpg' and the .py file…
-1
votes
1 answer

Is there a way to run an exe inside --onfile python

I created an main.py Where the code is on.system('program.exe') And I compiled it with auto-py-to-exe as one file added the program.exe as add files when I execute it says program.exe is not recognized as internal or external error lease help thank…
-1
votes
2 answers

How to create a Python executable with Selenium and chromedriver?

python newbie here. I am trying to create an executable of my web scraping script so other users can access it, but I am having some problems. The script does include some inputs to work. I have tried using both auto-py-to-exe and pyinstaller, but…
scorbin
  • 9
  • 5
-1
votes
1 answer

Python .exe PermissionError: [Errno 13] Permission denied

Here's the code for my reprex: from PyPDF2 import PdfFileReader as rdr from PyPDF2 import PdfFileWriter as wtr import os SELF_PATH = os.path.dirname(__file__) file_name = 'pdf_file' in_path = fr'{SELF_PATH}\{file_name}.pdf' assert…
-1
votes
1 answer

Why could differ functionality of pre and post-compiled script that works with file system?

For this program i use Python 3.10, PyCharm, and PyQt5 There is a program that takes an excel file and converts it to .csv: each sheet into the separate file using Pandas. The file can be taken from any directory, but the output file is always in…
1 2 3
12
13