PyInstaller+ Python3.5 (h5py import error)
hemla21 at gmail.com
Fri Sep 25 10:53:39 CEST 2015
On Thursday, September 24, 2015 at 1:12:31 PM UTC+2, Laura Creighton wrote:
> 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?
> Yes. You can use a hook file.
> see: https://pythonhosted.org/PyInstaller/#using-hook-files
More information about the Python-list