Using json as the example, a hook-json.py is created which contains: hiddenimports = ['json', 'json.decoder', 'json.encoder', 'json.scanner']
When the .spec file includes: hiddenimports=['json'], it results in the error: ImportError: No module named decoder If the .spec file includes: hiddenimports = ['json', 'json.decoder', 'json.encoder', 'json.scanner'] but with only one hook file (hook-json.py), the program works. Is this behavior correct? -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
