From: sk <sg...@ob...> - 2008-10-16 16:24:46
|
> > I am trying to bundle an application using PyTables 2.0.4 with > > PyInstaller. > > Running the bundled executable (on Windows XP if it matters -- didn't > > try > > Linux yet) I get a traceback ending with: > > > > File "hdf5Extension.pyx", line 11, in hdf5Extension > > File "C:\pyinstaller\iu.py", line 427, in importHook > > raise ImportError, "No module named %s" % fqname > > ImportError: No module named utilsExtension > > > > In hdf5Extension.pyx I see this line: > > > > from utilsExtension cimport malloc_dims, get_native_type > > > > and wonder if it should be: > > > > from tables.utilsExtension cimport malloc_dims, get_native_type > > > > but I don't know anything about pyrex. > > From the error, I'd say that you are using Python 2.6 for doing the > build. If this is the case, you are out of luck with the 2.0.x series > as they only support python 2.4 and 2.5. If you want to use python > 2.6, you may want to try packaging the trunk version, accessible in: > > http://pytables.org/svn/pytables/trunk > > I'm in the process of releasing RC1 for 2.1 in trunk (I plan a final 2.1 > version for the end of the month), so this should be fairly stable now. > > Cheers, > > -- > Francesc Alted No, this is on Python 2.5 (although I'm glad to hear about the 2.6 support). Is there a known PyInstaller bundling method for apps using PyTables? This is a big problem for our project. Thanks. -- sk |