Created
August 5, 2017 17:49
-
-
Save wxguy/e862e63ec70fb2ac6075d510cef7a48d to your computer and use it in GitHub Desktop.
Installing pygrib on Cent OS 7/ Redhat 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cent OS does not ship with pygrib module by default. The only way to install is to run from source or using distributions such as | |
conda. I succeed installing pygrib using pip and here is the documentation for future reference. | |
# Install all required libraries. | |
sudo yum install grib_api-* *jasper* libpng *zlib* *gfortran* libpng-* python-pip pyproj jpeg python-grib_api | |
# Install pygrin using pip | |
sudo pip install pygrib | |
Please remember that if you get some xxxxxx.h is missing error, then you have install xxxxxx-devel package. |
/usr/bin/ld: cannot find -leccodes
It appears that eccodes is missing from your install. I don't have Cent OS any more, but it appears that you have to install eccodes0
or eccodes
package installed before you try pip.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting the same fail, have you managed to resolve it?