-
-
Save timle/c8fa4e97399b0ca0985e1f4770ec83cd to your computer and use it in GitHub Desktop.
Install HDF5 and pytables on OS X Mavericks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build and install HDF5 | |
# compiled on 10.11.6 | |
# set where HDF5 will be installed; this is needed for pytables and is used in the configuration line for HDF5 below | |
export HDF5_DIR=/opt/hdf5 | |
# download, configure and install HDF5 | |
curl -O 'http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.17.tar.bz2' | |
tar xjf hdf5-1.8.17.tar.bz2 | |
cd hdf5-1.8.17 | |
./configure --prefix=${HDF5_DIR} | |
make && sudo make install | |
# the CLANG compiler will abort the compilation when there are unused command line arguments | |
# unless set, pytables will not compile | |
export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future | |
pip install tables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment