I apologize for bothering the list so soon after the last time, but I am 
having (different) trouble installing pytables on a machine that has the 
same hardware and (I hope) the same hardware as the last one I had 
trouble with.  I hope someone can point to my error.

When I try to "import tables", I get the following error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "tables/__init__.py", line 56, in <module>
    from tables.utilsExtension import getPyTablesVersion, getHDF5Version
ImportError: No module named utilsExtension

Since the .so file it seems to be complaining about is here:
/usr/local/lib/python2.5/site-packages/tables/utilsExtension.so
/usr/local/lib/python2.5/site-packages/tables/utils.py
/usr/local/lib/python2.5/site-packages/tables/utils.pyc

I tried:
export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/python2.5/site-packages/tables/

and
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.5/site-packages/tables/

Is there supposed to be a 
/usr/local/lib/python2.5/site-packages/tables/utilsExtension.py?

The steps I took to build the HDF libraries and PyTables:
HDF5:
./configure --prefix=/usr --libdir=/usr/lib64
make
sudo make install

PyTables:
sudo /usr/local/bin/python setup.py install

Output of "ldd 
/usr/local/lib/python2.5/site-packages/tables/utilsExtension.so":
libhdf5.so.5 => /usr/lib64/libhdf5.so.5 (0x00002b45dddcd000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b45de258000)
libc.so.6 => /lib64/libc.so.6 (0x00002b45de472000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00002b45de7c6000)
libm.so.6 => /lib64/libm.so.6 (0x00002b45de9da000)
/lib64/ld-linux-x86-64.so.2 (0x0000003b1fc00000)

Thanks,
Mike Hearne

-- 
------------------------------------------------------
Michael Hearne
[EMAIL PROTECTED]
(303) 273-8620
USGS National Earthquake Information Center
1711 Illinois St. Golden CO 80401
Senior Software Engineer
Synergetics, Inc.
------------------------------------------------------


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to