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? > > > >Thanks, > > > > Yes. You can use a hook file. > see: https://pythonhosted.org/PyInstaller/#using-hook-files > > Laura
Thanks Laura, Very Useful, -- https://mail.python.org/mailman/listinfo/python-list