[GH-ISSUE #533] Not generates exe file, generates a file only #411

Closed
opened 2026-02-26 12:21:30 +03:00 by kerem · 2 comments
Owner

Originally created by @m0x61h0x64i on GitHub (Jul 10, 2025).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/533

Originally assigned to: @brentvollebregt on GitHub.

Quick Checks

  • [ ] I have read the help post
  • [ ] I have searched other issues, looking for an issue similar to mine
  • [ ] I have made sure my application/script runs before trying to package

Describe the bug

I used pyinstaller & auto-py-to-exe but both generate a file rather than exe file
even if i try to add extention to it and run it, windows says cant run this app...
I want to generate exe on my linux and move it to windows, but in the windows cant run app because in my linux it generate only a file without extention under dist folder of pyinstaller or output folder of auto-py-to-exe.

To Reproduce

Steps to reproduce the behavior (install dependencies, do this in the auto-py-to-exe UI):

/home/user/.local/bin/pyinstaller --onefile x.py
or
/home/user/.local/bin/auto-py-to-exe
then check output file

Your Environment:
$python3 --version
Python 3.12.3

$pip show auto-py-to-exe
Name: auto-py-to-exe
Version: 2.46.0
Summary: Converts .py to .exe using a simple graphical interface.
Home-page: https://github.com/brentvollebregt/auto-py-to-exe
Author: Brent Vollebregt
Author-email: brent@nitratine.net
License: MIT
Location: /home/user/.local/lib/python3.12/site-packages
Requires: Eel, pyinstaller, requests
Required-by:

$pip show pyinstaller
Name: pyinstaller
Version: 6.14.2
Summary: PyInstaller bundles a Python application and all its dependencies into a single package.
Home-page: https://www.pyinstaller.org/
Author: Hartmut Goebel, Giovanni Bajo, David Vierra, David Cortesi, Martin Zibricky
Author-email:
License: GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)
Location: /home/user/.local/lib/python3.12/site-packages
Requires: altgraph, packaging, pyinstaller-hooks-contrib, setuptools
Required-by: auto-py-to-exe

$pip show eel
Name: Eel
Version: 0.18.2
Summary: For little HTML GUI applications, with easy Python/JS interop
Home-page: https://github.com/python-eel/Eel
Author: Python Eel Organisation
Author-email: python-eel@protonmail.com
License:
Location: /home/user/.local/lib/python3.12/site-packages
Requires: bottle, bottle-websocket, future, importlib-resources, pyparsing, typing-extensions
Required-by: auto-py-to-exe

Originally created by @m0x61h0x64i on GitHub (Jul 10, 2025). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/533 Originally assigned to: @brentvollebregt on GitHub. **Quick Checks** - [ ✅] I have read the [help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe) - [ ✅] I have [searched other issues](https://github.com/brentvollebregt/auto-py-to-exe/issues?q=is%3Aissue+), looking for an issue similar to mine - [ ✅] I have made sure my application/script runs before trying to package **Describe the bug** I used pyinstaller & auto-py-to-exe but both generate a file rather than exe file even if i try to add extention to it and run it, windows says cant run this app... I want to generate exe on my linux and move it to windows, but in the windows cant run app because in my linux it generate only a file without extention under dist folder of pyinstaller or output folder of auto-py-to-exe. **To Reproduce** _Steps to reproduce the behavior (install dependencies, do this in the auto-py-to-exe UI):_ /home/user/.local/bin/pyinstaller --onefile x.py or /home/user/.local/bin/auto-py-to-exe then check output file **Your Environment:** $python3 --version Python 3.12.3 $pip show auto-py-to-exe Name: auto-py-to-exe Version: 2.46.0 Summary: Converts .py to .exe using a simple graphical interface. Home-page: https://github.com/brentvollebregt/auto-py-to-exe Author: Brent Vollebregt Author-email: brent@nitratine.net License: MIT Location: /home/user/.local/lib/python3.12/site-packages Requires: Eel, pyinstaller, requests Required-by: $pip show pyinstaller Name: pyinstaller Version: 6.14.2 Summary: PyInstaller bundles a Python application and all its dependencies into a single package. Home-page: https://www.pyinstaller.org/ Author: Hartmut Goebel, Giovanni Bajo, David Vierra, David Cortesi, Martin Zibricky Author-email: License: GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones) Location: /home/user/.local/lib/python3.12/site-packages Requires: altgraph, packaging, pyinstaller-hooks-contrib, setuptools Required-by: auto-py-to-exe $pip show eel Name: Eel Version: 0.18.2 Summary: For little HTML GUI applications, with easy Python/JS interop Home-page: https://github.com/python-eel/Eel Author: Python Eel Organisation Author-email: python-eel@protonmail.com License: Location: /home/user/.local/lib/python3.12/site-packages Requires: bottle, bottle-websocket, future, importlib-resources, pyparsing, typing-extensions Required-by: auto-py-to-exe
kerem 2026-02-26 12:21:30 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Jul 10, 2025):

👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.

Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.

<!-- gh-comment-id:3057624327 --> @github-actions[bot] commented on GitHub (Jul 10, 2025): 👋 Hi, just a reminder that if you haven't read [the help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/) yet, give it a read to see if your issue is covered in it and make sure to follow [the debugging section](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/#debugging). Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help [post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/), [video](https://youtu.be/OZSZHmWSOeM) or create a [new discussion](https://github.com/brentvollebregt/auto-py-to-exe/discussions).
Author
Owner

@brentvollebregt commented on GitHub (Jul 11, 2025):

In the help post there is a section "Can I Create an Executable on One Operating System and Run it on Another?" - this explains that while PyInstaller (the underlying library that does packaging in auto-py-to-exe) is cross-platform, it is not a cross-compiler. The output from the tool cannot run across multiple operating systems.

<!-- gh-comment-id:3061325042 --> @brentvollebregt commented on GitHub (Jul 11, 2025): In the help post there is a section ["Can I Create an Executable on One Operating System and Run it on Another?"](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/#can-i-create-an-executable-on-one-operating-system-and-run-it-on-another) - this explains that while PyInstaller (the underlying library that does packaging in auto-py-to-exe) is cross-platform, it is not a cross-compiler. The output from the tool cannot run across multiple operating systems.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#411
No description provided.