f=h5py.File("package_test.h5")
f.close()
----------------------------------------------
I am using the following
setup.py ------------------------------
import sys
from cx_Freeze import setup, Executable
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
# adding the base removes the consol :-)
executables = [
Executable('h5py_example.py',base = base,icon=None
)
]
excludes = []
includes = []
packages = []
path = []
setup(name='simpleH5pyExec',
version='0.1',
description='Sample h5py script',
author ='GG',
author_email = 'GG,
options = {"build_exe": {"includes": includes,
"excludes": excludes,
"packages": packages,
"path": path
}
},
executables=executables
)
----------------------------
the error happens during execution of the compiled program:
I do not know how to go about it.
During the freezing process using cx_Freeze among many other modules the following are added
....
adding 'Program Files\simpleH5pyExec\h5py.defs.pyd'
adding 'Program Files\simpleH5pyExec\h5py.utils.pyd'
adding 'Program Files\simpleH5pyExec\h5py._proxy.pyd'
adding 'Program Files\simpleH5pyExec\h5py_example.exe'
adding 'Program Files\simpleH5pyExec\hdf5.dll'
adding 'Program Files\simpleH5pyExec\hdf5_hl.dll'
.....
I suspect the problem is that it does not add something as h5py._errors.pyd
but I do not know how to make this happen.
Please keep in mind I just started with Python.
Thanks for any help.
Gio