mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-26 04:05:49 +03:00
[GH-ISSUE #246] missing Library\bin folder in output directory #221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LaserGobble on GitHub (Feb 23, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/246
Hi!
I used auto-py-to-exe on a .py program that - besides other things - streams and then displays webcam images.
The command I executed was
pyinstaller --noconfirm --onedir --windowed --clean "path-to-where-my-program-is\main-program.py"
Everything worked fine, but once I tried to start my .exe, instead of my GUI the following error message showed up:
Both folders "Library" and "bin" did not exist at that point. I could solve the issue by manually adding the required folders (no content, just empty folders). Generating the .exe on another device (both Windows 10) using the same command led to errors as well.
My .exe does work now, but I wonder what was going on here. Does anybody know the source of this error? Thanks in advance.
@LaserGobble commented on GitHub (Feb 23, 2022):
Oh and I'm using python version 3.9.7 and auto-py-to-exe version 2.13.0 :)
@brentvollebregt commented on GitHub (Feb 24, 2022):
Check out "FileNotFoundError: [Errno 2] No such file or directory" in the help post I have written - you will need to add the folder using the "Additional Files" section in the UI.
@LaserGobble commented on GitHub (Mar 2, 2022):
Thanks, I'll make sure to include that the next time.