In a message of Thu, 24 Sep 2015 02:58:35 -0700, Heli Nix writes:
>Thanks Christian, 
>
>It turned out that h5py.defs was not the only hidden import that I needed to 
>add. 
>
>I managed to get it working with the follwoing command adding 4 hidden 
>imports. 
>
>
>pyinstaller --hidden-import=h5py.defs --hidden-import=h5py.utils  
>--hidden-import=h5py.h5ac --hidden-import=h5py._proxy  test.py
>
>
>is there anyway that you can use to add all h5py submodules all together?
>
>Thanks, 
>

Yes.  You can use a hook file.
see: https://pythonhosted.org/PyInstaller/#using-hook-files

Laura

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to