scidash / neuronunit

A package for data-driven validation of neuron and ion channel models using SciUnit
http://neuronunit.scidash.org
38 stars 24 forks source link

HDF5 build error when installing latest AIBS skd #191

Closed JustasB closed 5 years ago

JustasB commented 5 years ago

https://travis-ci.org/scidash/neuronunit/jobs/430815994

Collecting tables (from allensdk==0.15.1->-r requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/4d/53/8f34ce887c2a2ad80518980419a5f6f41defc85a287a355987e559ce9385/tables-3.4.4.tar.gz (4.6MB)
    100% |████████████████████████████████| 4.6MB 51.0MB/s 
    Complete output from command python setup.py egg_info:
    /usr/bin/ld: cannot find -lhdf5
    collect2: error: ld returned 1 exit status
    * Using Python 3.7.0 (default, Jun 28 2018, 13:15:42)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-u0v4r408/tables/
JustasB commented 5 years ago

Can't reproduce on my machine

JustasB commented 5 years ago

Thoughts on what this might be @rgerkin ? Seems related to this:

https://github.com/PyTables/PyTables/issues/385

But I'm not too familiar with travis config to make this work with CI

JustasB commented 5 years ago

I resolved this by restoring the prev SKD version in requirements, but kept the test code that's compatible with the older and newer SDK versions

https://travis-ci.org/scidash/neuronunit/builds/431065169?utm_medium=notification&utm_source=email