Minimal working example (test_code.py): import inflect print(inflect.engine().number_to_words(6))
[image: Python_Execution.png] System info: PyInstaller: 6.7.0, contrib hooks: 2024.6 Python: 3.12.3 Platform: Windows 11 Pro 23H2 When test_code.exe is run, I get the following error message: Traceback (most recent call last): File "test_code.py", line 1, in <module> File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "inflect\__init__.py", line 2043, in <module> File "inflect\__init__.py", line 2064, in engine File "typeguard\_decorators.py", line 223, in typechecked File "typeguard\_decorators.py", line 71, in instrument File "inspect.py", line 1278, in getsource File "inspect.py", line 1260, in getsourcelines File "inspect.py", line 1089, in findsource OSError: could not get source code [7008] Failed to execute script 'test_code' due to unhandled exception! [image: EXE_Execution.png] warn-test_code.txt: missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level) excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level) Any thoughts would be very much appreciated! Thank You! Richie -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/66b5bda1-d92c-4335-b894-9a1948e55fa0n%40googlegroups.com.
