Top level ModuleNotFoundErrors normally mean you’re running PyInstaller
from the wrong Python environment. Try running your original Python code
from a terminal using python cyllo_installer.py and then building from that
same environment using python -m PyInstaller cyllo_installer.py. One of
After converting my Python script into an executable (exe) file using
PyInstaller, when I click on the exe file, it does not open. Upon checking
the './script_name', I encounter a 'module not found' error.
The error was:
Traceback (most recent call last):
File "cyllo_installer.py", line 23, in