Hi Christoph, 2010/5/21 Christoph Gohlke <cgoh...@uci.edu>
> Dear PyTables developers, > > I ran into two problems with 64-bit tables-2.2rc1.win-amd64-py2.6. > Pytables and all its dependencies were built from sources using Visual > Studio 2008. There were no build errors. Part of the test_all.py output > is attached. > > 1) Even though the bzip2 and lzo libraries are present and apparently > linked to the pyd extensions, filters.py claims that those compression > methods are not available. > There could be a couple of reasons for this: 1.- Python 64-bit on Win64 does not assert os.name == 'nt'. In case os.name is different than 'nt', you may want to update the line 283 in setup.py: if os.name == 'nt or os.name == 'whatever_os.name returns in Win64': 2.- In order to load DLLs, PyTables uses a the `LoadLibrary` function to check whether the DLL is available or not (see `getLibrary` function in src/utils.c for details). Perhaps `LoadLibrary` Win call does not work the same in Python 64/Win 64? > 2) Many (all?) hdf5 file write operations fail during the tests. Dozens > of h5 files are created in the %TEMP% directory before the python > process would eventually crash in hdf5dll.dll. > > For comparison, the 32-bit version, tables-2.2rc1.win32-py2.6, built > from exactly the same sources, passes all tests and bzip2 and lzo are > getting used. > > I have tried the following without success: > > 1) using the official HDF5 1.8.4-patch1 libraries and DLLs > 2) using a 64 bit pthreads patch from > http://old.nabble.com/Pthreads-64bit-patches-td27399857.html > 3) test the binaries on another Windows 7 computer. > > I read that the hdf write problem might be due to a zlib/hdf5 version > mismatch. However, the hdf5 binaries test OK and do work with the h5py > and netcdf4 packages. > To say the truth, I don't know what is happening here. Could you try running a single example (say, `examples/table1.py`), and switch compression on and off? Please, could you also try with zlib, lzo and blosc to see if there is any difference? That could shed some light on what is going on. Thanks. Your feedback will be very useful for getting 64-bit binaries for Win. -- Francesc Alted
------------------------------------------------------------------------------
_______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users