BAP icon indicating copy to clipboard operation
BAP copied to clipboard

hdf5 installation error on windows when installing from bap.yml

Open opherdonchin opened this issue 2 years ago • 2 comments

Perhaps this has something to do with my setup, but it would be nice to know. I get the following error when running conda env create -f bap.yml

ERROR: Command errored out with exit status 1:
     command: 'C:\miniconda3\envs\bap\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\OPHERL~1\\AppData\\Local\\Temp\\pip-install-peqyy82t\\netcdf4\\setup.py'"'"'; __file__='"'"'C:\\Users\\OPHERL~1\\AppData\\Local\\Temp\\pip-install-peqyy82t\\netcdf4\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\OPHERL~1\AppData\Local\Temp\pip-pip-egg-info-m8pllb3k'
         cwd: C:\Users\OPHERL~1\AppData\Local\Temp\pip-install-peqyy82t\netcdf4\
    Complete output (28 lines):
    Package hdf5 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `hdf5.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'hdf5' found

opherdonchin avatar Aug 22 '22 09:08 opherdonchin

I am not able to reproduce it.

aloctavodia avatar Aug 22 '22 21:08 aloctavodia

I have the same problem on Mac OS Monterey with Anaconda 2022.10. I think the issue is with Anaconda or Conda, but I haven't been able to fix it. I've installed the latest versions of the packages listed in bap.yml in a Python 3.10 environment with no errors. Do you foresee major issues with this?

charlie-corus avatar Nov 21 '22 14:11 charlie-corus