PyTables Error: ...import *

benjamin.scott at gmail.com benjamin.scott at gmail.com
Wed Jun 1 13:31:00 EDT 2005


Hello,

I am using an XP box and Python 2.3 (Enthought Edition).  I am getting
the same error with both of the .exe's listed on sourceforge:

tables-1.0.win32-py2.3.exe
tables-1.0.LB.win32-py2.3.exe

Note that the installation seems to go fine.  Although, when I run the
test_all.py file it seems to fall over due to references to numarray; I
am using Numeric.

I am trying to follow the PyTables User Guide:

http://pytables.sourceforge.net/html-doc/

Per installation instructions I copied the 3 prereq files as noted
here:

http://pytables.sourceforge.net/html-doc/x420.html#subsection2.2.1

I am getting an error in the following section:

http://pytables.sourceforge.net/html-doc/c474.html#subsection3.1.1

In particular, "from tables import *" gives the following error:

Traceback (most recent call last):
 File "<pyshell#0>", line 1, in -toplevel-
   from tables import *
 File "...\site-packages\tables\__init__.py", line 33, in
-toplevel-
   from tables.hdf5Extension import\
ImportError: No module named hdf5Extension

Note that the only file with the name "hdf5Extension" in the
"...\site-packages\tables\" directory has the extension ".pyd", not
".py" or ".pyc".

Suggestions?

Thanks in advance,

-Ben




More information about the Python-list mailing list