A Friday 12 November 2010 11:18:20 Francesc Alted escrigué: > [more auto-discarded messages...] > > --------------------------------------------------------------------- > -------------- De: jmpmega...@yahoo.com > A: pytables-users@lists.sourceforge.net > Data: Dimarts 17:24:15 > > Hello, > > First off, I'm a big fan of pytables, and of HDF5 and some of the > tools built on top of it (ViTables). So thank you for your hard > work. > > I am reinstalling pytables after having to rebuild my machine, and am > coming up with some sort of version conflict between pytables and the > required imports. > > I did binary installs of the following packages: > - numpy-1.4.1 > - h5py-1.3.0 > - numexpr-1.4.1 > - tables-2.2.1 > > Upon import of tables, I get the error below. Normally I would just > comment out some error checking code until it worked, but when I > started down that route, I got to the the point where subimports > were failing, leading me to believe I have the wrong versions of the > packages. > > Any pointers to a solution? > > Thanks, > > jm > > > > > C:\Documents and Settings\Administrator>ipython > Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit > (Intel)] > Type "copyright", "credits" or "license" for more information. > > IPython 0.10 -- An enhanced Interactive Python. > ? -> Introduction and overview of IPython's features. > %quickref -> Quick reference. > help -> Python's own help system. > object? -> Details about 'object'. ?object also works, ?? prints > more. > > In [1]: import tables > --------------------------------------------------------------------- > ------ AttributeError Traceback (most > recent call last) > > C:\Documents and Settings\Administrator\<ipython console> in > <module>() > > C:\Python26\lib\site-packages\tables\__init__.pyc in <module>() > 82 # Import the user classes from the proper modules > > 83 from tables.exceptions import * > ---> 84 from tables.file import File, openFile, copyFile > 85 from tables.node import Node > 86 from tables.group import Group > > C:\Python26\lib\site-packages\tables\file.py in <module>() > 45 try: > 46 import numexpr > ---> 47 if numexpr.__version__ < min_numexpr_version: > 48 print \ > 49 "*Warning*: Numexpr version is lower than recommended: %s < > %s" % \ > > AttributeError: 'module' object has no attribute '__version__' > > In [2]: import numpy > > In [3]: print numpy.__version__ > ------> print(numpy.__version__) > 1.4.1 > > In [4]: import numexpr > > In [5]: print numexpr.version.version > ------> print(numexpr.version.version) > 1.4.1
Hmm, that's weird. What's: print numexpr.__version__ saying in your python shell? -- Francesc Alted ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users