mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 19:55:49 +03:00
[GH-ISSUE #207] Exe doesn't work #187
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 @Nextross on GitHub (Oct 30, 2021).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/207
I'm using Python 3.9.5. I wrote a script that will display a notification after starting the .exe, but when I tried to start it, it gives me this error:
It worked as a script in terminal. Do you know where it issues could be?
@brentvollebregt commented on GitHub (Oct 30, 2021):
Looks like
win10toastis something you should add as a hidden import@Nextross commented on GitHub (Oct 30, 2021):
Still the same error appears. Here's the code, you can have a look.
@brentvollebregt commented on GitHub (Oct 30, 2021):
This does not look like an issue with auto-py-to-exe but the library you are using.
Searching for
pkg_resources.DistributionNotFound: The 'win10toast' distribution was not found and is required by the applicationin Google came up with this: jithurjacob/Windows-10-Toast-Notifications#25 - I recommend you take a look at the issue.@Legorooj commented on GitHub (Nov 2, 2021):
@brentvollebregt you may want to consider adding support for some of PyInstaller's new options. This issue should in theory be fixed by adding
--copy-metadata=win10toastto the command.@brentvollebregt commented on GitHub (Nov 4, 2021):
@Legorooj thanks heaps for the tip. I can't see
--collect-metadataas a valid argument, maybe you meant--copy-metadataor one of the other--collect-Xargs?@Legorooj commented on GitHub (Nov 5, 2021):
@brentvollebregt my bad, I did mean
--copy-metadatahaha. I keep calling it the wrong thing because all the others are named differently. Edited my previous comment.@github-actions[bot] commented on GitHub (Jan 5, 2022):
This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
@github-actions[bot] commented on GitHub (Jan 11, 2022):
Closing issue due to no activity in more than 60 days.