ccGains
ccGains copied to clipboard
Cannot install ccGains on MAC with Python 3.7.2
I have been unable to install ccGrains on MAC with Python 3.7.2
Here are the steps I am following: git clone https://github.com/probstj/ccgains.git cd ccgains pip3 install . I get the this error:
* USE_PKGCONFIG: False
.. 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.
Looks like an error in installing the required 'tables' module. I have tried to set the HDF5_DIR env variable, using --hdf5, and brew install hdf5 But nothing helped in fixing this issue. Any ideas?
I had the same problem with same setup, but brew install hdf5 fixed it for me. After installing hdf5, did you try unsetting your environment variable and running pip install . again?
Is the error message the same after having installed hdf5 with brew?
Thanks Anson for your help! Mbenhalima, did it work?
thanks @anson-vandoren for the suggestions! this what finally worked for me:
brew install hdf5
brew install cairo
brew install pango
export HDF5_DIR=/usr/local/Cellar/hdf5/1.10.4/ # so the env variable should be the full path to the hdf5 package
I think I successfully loaded ccgains on my Linux machine but cannot get pip to work:
tomf@tomVaio:/ccgains/ccgains$ pip install .
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in