On 2010-01-03 07:40 , Jean-Baptiste Rudant wrote: > Hello, > > I'm not able to make PyTables work properly on my new notebook with > Windows Vista 32-bit and an AMD 64-bit processor (I don't know if the > problem can have something to do with this configuration). > > I tried with python 2.5 and python 2.6. I used respectively > tables-2.1.2.win32-py2.5.exe and tables-2.1.2.win32-py2.6.exe. I have > numpy 1.4.0 installed. > > I have the following error : > > >>> import tables > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "C:\Python25\Lib\site-packages\tables\__init__.py", line 56, in > <module> > from tables.utilsExtension import getPyTablesVersion, getHDF5Version > File "definitions.pxd", line 138, in tables.utilsExtension > ValueError: numpy.dtype does not appear to be the correct type object
You will need to rebuild PyTables using numpy 1.4.0. Pyrex does some (IMO, overzealous) type checking. numpy 1.4.0 extends a type struct to add a feature. This was done in a binary compatible way except that Pyrex does an explicit check for the size of the struct. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users