Problem installing pytables
asked 2015-06-16 07:45:49 -0500
This post is a wiki. Anyone with karma >750 is welcome to improve it.
I am trying to use pytables on sage but i can't manage to install it. Here is the output I have when I run "easy_install tables":
Processing tables-3.2.0.tar.gz Writing /tmp/easy_install-d_z6W4/tables-3.2.0/setup.cfg Running tables-3.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-d_z6W4/tables-3.2.0/egg-dist-tmp-beGBz6 * Using Python 2.7.8 (default, Jun 16 2015, 12:02:21) * USE_PKGCONFIG: True * Found HDF5 headers at ``/usr/include``, the library is located in the standard system search dirs. * Found LZO 2 headers at ``/usr/include``, the library is located in the standard system search dirs. * Skipping detection of LZO 1 since LZO 2 has already been found. * Found bzip2 headers at ``/mnt/storage/glacet/sage-6.7-x86_64-Linux/local/include``, the library is located in the standard system search dirs. * Found blosc headers at ``/usr/local/include``, library at ``/usr/local/lib``. warning: no previously-included files matching '*' found under directory 'doc/build' warning: no files found matching '*.h5' under directory 'bench' In file included from /mnt/storage/glacet/sage-6.7-x86_64-Linux/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /mnt/storage/glacet/sage-6.7-x86_64-Linux/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /mnt/storage/glacet/sage-6.7-x86_64-Linux/local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from tables/utilsextension.c:251: /mnt/storage/glacet/sage-6.7-x86_64-Linux/local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from tables/utilsextension.c:258:0: c-blosc/hdf5/blosc_filter.h:8:19: fatal error: blosc.h: No such file or directory #include "blosc.h" ^ compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1
I tried several versions of it, I can install some versions < 3.0 and none of the others.