question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:

  File "svatky.py", line 14, in <module>
    toast.show_toast("Dnes má svátek", dnes, duration=5)
  File "win10toast\__init__.py", line 127, in show_toast
  File "win10toast\__init__.py", line 93, in _show_toast
  File "pkg_resources\__init__.py", line 1130, in resource_filename
  File "pkg_resources\__init__.py", line 342, in get_provider
  File "pkg_resources\__init__.py", line 886, in require
  File "pkg_resources\__init__.py", line 772, in resolve
pkg_resources.DistributionNotFound: The 'win10toast' distribution was not found and is required by the application

It worked as a script in terminal. Do you know where it issues could be?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Legoroojcommented, Nov 5, 2021

@brentvollebregt my bad, I did mean --copy-metadata haha. I keep calling it the wrong thing because all the others are named differently. Edited my previous comment.

0reactions
github-actions[bot]commented, Jan 11, 2022

Closing issue due to no activity in more than 60 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exe File is Not Opening: 6 Ways to Fix it [Force Launch]
How do I force an exe file to open? · 1. Edit the registry · 2. Scan for malware · 3. Change the...
Read more >
How to fix .exe files not opening in Windows 10? - Auslogics
1. Check the system for malware. 2. Mend the .exe file association. 3. Change executable file parameters in the registry.
Read more >
Cannot open EXE files - Windows Server | Microsoft Learn
Symptoms. When you try to open EXE files, you may get error messages like: "Access Deny", "Runtime error" and so on. · Cause....
Read more >
Cannot Open .EXE Files in Windows 10 – Fixed
Methods to Open .EXE Files in Windows 10 · After starting the computer in Safe Mode, press Window + S to enter Windows...
Read more >
Fix: .Exe files not opening in Windows 10 / 11 - The Geek Page
Fix-1 Change Value Data of .exe registry · Fix-2 Try to run program in compatibility mode · Fix-3 Revert the location of Program...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found