Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIP install decode in a Python 3.8.7 venv - netcdf4-1.7.1 results in subprocess-exited-with-error (ValueError: did not find HDF5 headers) #161

Open
Cladge opened this issue Jun 20, 2024 · 1 comment

Comments

@Cladge
Copy link

Cladge commented Jun 20, 2024

  • Software versions:
    • decode 2.13.0
  • Environmental information:
    • Windows 11
    • Python 3.8.7 (venv)
    • pip 24.0 (venv)
    • pip-tools 7.4.1 (venv)
    • setuptools 49.2.1 (venv)
  • Description of the issue:
    1. Use Python 3.8.7 to create a fresh Python 3.8.7 venv (virtual environment).
    2. Activate the venv.
    3. Upgrade pip (venv):
    (venv) $ python -m pip install --upgrade pip
    1. Install pip-tools (venv):
    (venv) $ pip install pip-tools
    1. Install decode (venv):
    (venv) $ pip install decode
    1. Tries to install build dependencies using netcdf4-1.7.1.tar.gz but exits with errors:
      • "error: subprocess-exited-with-error"
      • "ValueError: did not find HDF5 headers"
    2. See: pip-install-decode-error.txt for the complete output log.
@Cladge
Copy link
Author

Cladge commented Jun 20, 2024

Apologies. I did not notice that decode only supports Python >= 3.9. However, PIP is using cached decode-1.0.0-py3-none-any.whl.metadata and version 1.0.0 does support Python 3.8.

This was all working until a few days ago. I notice that netCDF4 had two new releases this month - 1.7.0 and 1.7.1. It would seem to tie in with those recent updates.

Can you see a way around this other than upgrading to Python >= 3.9?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant