Opened 12 years ago
Last modified 12 years ago
#38256 closed update
Import Error with HDF5 version 1.8.10 — at Initial Version
Reported by: | andrealphus@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-netcdf4 |
Description
See similar ticket;
http://code.google.com/p/netcdf4-python/issues/detail?id=147
What steps will reproduce the problem?
- compile hdf5 version 1.8.10
- run netCDF4 "python setup.py install"
- attempt to import netCDF4
What is the expected output? What do you see instead? No expected output, instead get this import error
ImportError: netCDF4 module must be linked against HDF5 version 1.8.4-patch1 or higher, got 1.8.10
What version of the product are you using? On what operating system? netCDF4-1.0.1
Please provide any additional information below. It appears that the hdf5libversion and the required_hdf5version variables are strings are used in the version comparison. The problem appears to be that the string comparison does not work now that HDF5 is up to version 1.8.10. "1.8.10">"1.8.4" is FALSE
This would have worked in previous versions of HDF5 since "1.8.9">"1.8.4" is TRUE