diff --git a/app.spec b/app.spec index 8300a3a1f..4afe3e28d 100644 --- a/app.spec +++ b/app.spec @@ -10,7 +10,7 @@ a = Analysis( binaries=[], datas=[('gpt_computer_assistant/utils/media/*', 'gpt_computer_assistant/utils/media')], hiddenimports=['crewai',], - hookspath=[], + hookspath=['.'], hooksconfig={}, runtime_hooks=[], excludes=[], diff --git a/hook-crewai.py b/hook-crewai.py new file mode 100644 index 000000000..24caebdb3 --- /dev/null +++ b/hook-crewai.py @@ -0,0 +1,4 @@ +# hook-crewai.py +from PyInstaller.utils.hooks import collect_submodules + +hiddenimports = collect_submodules('crewai') \ No newline at end of file