I'm trying to install pytables on a mac OS 10.6. I installed hdf5 v 1.8.4
with shared libraries. I then included the location of the libraries in my
LD_LIBRARY_PATH env variable, and tried to install pytables through both
easy_install and from source. Neither appears to work.
In both cases I get an error when I import tables in python:
>>> import tables
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
line 56, in <module>
from tables.utilsExtension import getPyTablesVersion, getHDF5Version
2): Symbol not found: _H5T_STD_I64LE_g
Expected in: dynamic lookup
When I build from source I get the following messages which might be
$ python setup.py build_ext --inplace --hdf5=../hdf5-1.8.4/hdf5/
* Found numpy 1.3.0 package installed.
* Found HDF5 headers at ``../hdf5-1.8.4/hdf5/include``, library at
.. WARNING:: Could not find the HDF5 runtime.
The HDF5 shared library was *not* found in the default library
paths. In case of runtime problems, please remember to install it.
* Could not find LZO 2 headers and library; disabling support for it.
* Could not find LZO 1 headers and library; disabling support for it.
* Found bzip2 headers at ``/usr/include``, library at ``/usr/lib``.
Does anyone know what might be going wrong? I did install hdf5, so I'm not
sure what the warning message is referring to.
Thanks a lot!
On 25 May 2010 09:38, Brandt Belson <bbelson@...> wrote:
> I'm trying to install pytables on a mac OS 10.6. I installed hdf5 v 1.8.4
> with shared libraries. I then included the location of the libraries in my
> LD_LIBRARY_PATH env variable, and tried to install pytables through both
> easy_install and from source. Neither appears to work.
I don't think you're doing anything wrong; it looks like the same
problem I had recently. It was fixed by installing the latest source:
sudo easy_install http://pytables.org/svn/pytables/trunk
It only works in 64-bit mode too, so you need to make sure your python
is running in 64 bit.
defaults write com.apple.versioner.python Prefer-32-Bit -bool no
More info is available if you look for a thread called "Snow Leopard