Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install tables (Python, OS X) - could not find a local HDF5 installation

Tags:

python

macos

hdf5

I keep having an error

ERROR:: Could not find a local HDF5 installation

when I'm installing tables in Python:

pip install tables

I've downloaded and installed http://continuum.io/downloads but it didn't help. What else can I try to solve it?

like image 802
Incerteza Avatar asked Oct 19 '22 16:10

Incerteza


1 Answers

If you are using the anaconda distribution you can just do:

$ conda install pytables

If you need to install from pip and already have the HDF5 libraries installed you can do:

$ HDF5_DIR=/path/to/hdf5 pip install tables

E.g. you could install HDF5 with conda and still install pytables using the method above but it's a lot easier just using conda.

like image 171
Stephen Pascoe Avatar answered Oct 22 '22 06:10

Stephen Pascoe