python(Nested calls) pack to exe ,not same as expected,sub module not pack success. #8914
-
python main script would parse json data inluding pythn script name and parameters to excute sub python script, use pyinstaller latest version V6.11.1 to pack main script,had try to usee --onefile or dir to generate,use Analysis include sub script,hiddenimport python module used in sub script,but all not valid to report not find module like xlrd, cantools when excute sub script ,just want to pack python and main python script and sub script to one exe for use,pyinstall now not friendly to me, please help,Dear pyinstaller gods,Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
hiddenimports=['xlrd', 'cantools', 'pandas'], |
Beta Was this translation helpful? Give feedback.
-
Using a subprocess is always the wrong thing to do. Just import it or use runpy. |
Beta Was this translation helpful? Give feedback.
Using a subprocess is always the wrong thing to do. Just import it or use runpy.