Skip to content

Cannot install pygrib due to missing component #230

@heliosilver97

Description

@heliosilver97

Good afternoon!

I'm trying to install the pygrib library to run in VS Code, but I'm not succeeding. When I go to install, the following reason appears:

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pygrib
Failed to build pygrib
ERROR: Could not build wheels for pygrib, which is required to install pyproject.toml-based projects

I researched the error and i found that the error suggests that the build process of the pygrib package is failing due to the absence of the grib_api.h file, which is part of the libeccodes library. How i can fix this issue? Because i already installed the eccodes package, and the same issue still happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions