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 hidden or 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. |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/usr/bin/ld: cannot find -leccodesIt appears that eccodes is missing from your install. I don't have Cent OS any more, but it appears that you have to install
eccodes0oreccodespackage installed before you try pip.