Recently I've made a python app and when I change it to a exe file it is saying Failed to execute script app
When I run it in console it is showing like this:
Traceback (most recent call last):
File "app.py", line 4, in <module>
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-
packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
exec(bytecode, module.__dict__)
File "pynput\__init__.py", line 40, in <module>
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-
packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
exec(bytecode, module.__dict__)
File "pynput\keyboard\__init__.py", line 31, in <module>
File "pynput\_util\__init__.py", line 76, in backend
ImportError
[104] Failed to execute script app