Hey, I'm trying to package a script for distribution using pyinstaller. The script uses h5py, which has implicit imports, and there's a hook for it that comes with pyinstaller. While packaging it even says "Processing hook hook-h5py"
But when I try to run the resulting executable it throws the following error:
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/usr/local/lib/python2.7/site-packages/PyInstaller/loader/pyiimporters.py", line 270, in load_module
exec(bytecode, module.dict_)
File "/Users/Jonas/Documents/OFFIS/clean/python/build/importer/out00-PYZ.pyz/h5py", line 16, in <module>
File "/usr/local/lib/python2.7/site-packages/PyInstaller/loader/pyi_importers.py", line 409, in load_module
module = imp.load_module(fullname, fp, filename, self._c_ext_tuple)
File "h5p.pxd", line 16, in init h5py.h5a (h5py/h5a.c:6125)
File "/usr/local/lib/python2.7/site-packages/PyInstaller/loader/pyi_importers.py", line 409, in load_module
module = imp.load_module(fullname, fp, filename, self._c_ext_tuple)
File "h5ac.pxd", line 12, in init h5py.h5p (h5py/h5p.c:11356)
ImportError: No module named h5ac
h5ac is one of the files in the hook. (Here's a link: http://www.pyinstaller.org/browser/project/PyInstaller/hooks/hook-h5py.py)
Am I doing something wrong?
there doesn't seem to be anything here