Traceback (most recent call last):
File "my_script.py", line 6, in <module>
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "my_script_2", line 24, in <module>
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "compound_split\char_split.py", line 10, in <module>
File "PyInstaller\loader\pyimod02_importers.py", line 366, in exec_module
File "PyInstaller\loader\pyimod02_importers.py", line 161, in get_code
ImportError: PyiFrozenImporter cannot handle module 'compound_split.de_ngram_probs'
[4956] Failed to execute script 'my_script' due to unhandled exception!
I tried to import this module via hidden imports and tried to use the debug function to gain more information. Everything leads to the same result. Unfortunately, I cannot find anything to this error....
Can someone help me solve this?
I can’t get the issue to occur using the latest PyInstaller and compound_split. Line 10 of compound_split\char_split.py is import compound_split.char_split so running pyinstaller on a script containing just that line should be enough to trigger the error. Can you confirm if that is the case for you?